Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __getattr__(self, name):
"""Dynamically create an object class (ie: host).
:type name: str
:param name: Zabbix API method group name.
Example: `apiinfo.version` method it will be `apiinfo`.
"""
return ZabbixAPIObjectClass(name, self)