def __init__(self, settings=None):
        self._settings = settings
        if settings is None:
            try:
                self._settings = getattr(django_settings, 'NODECONDUCTOR', {})['MONITORING']['ZABBIX']
            except __HOLE__:
                raise ZabbixError('No settings defined for zabbix API client.')
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/monitoring/zabbix/api_client.py/ZabbixApiClient.__init__