def __init__(self, settings_module=None, **kwargs):  # pragma: no cover
        """Execute loaders and custom initialization

        :param settings_module: defines the setttings file
        :param kwargs:  override default settings
        """
        self._logger = None
        self._fresh = False
        self._loaded_envs = []
        self._loaded_files = []
        self._deleted = set()
        self._store = {}
        self._loaded_by_loaders = {}
        self._loaders = []
        self._defaults = {}
        self.environ = os.environ
        self.SETTINGS_MODULE = None
        self._not_installed_warnings = []
        self._memoized = None

        compat_kwargs(kwargs)
        if settings_module:
            self.set("SETTINGS_FILE_FOR_DYNACONF", settings_module)
        for key, value in kwargs.items():
            self.set(key, value)
        # execute loaders only after setting defaults got from kwargs
        self._defaults = kwargs
        self.logger.debug("Initializing Dynaconf (%s)", self._store)
        self.execute_loaders()
def __init__ ( self , settings_module = None , ** kwargs ) : self . _logger = None self . _fresh = False self . _loaded_envs = [ ] self . _loaded_files = [ ] self . _deleted = set ( ) self . _store = { } self . _loaded_by_loaders = { } self . _loaders = [ ] self . _defaults = { } self . environ = os . environ self . SETTINGS_MODULE = None self . _not_installed_warnings = [ ] self . _memoized = None compat_kwargs ( kwargs ) if settings_module : self . set ( "SETTINGS_FILE_FOR_DYNACONF" , settings_module ) for key , value in kwargs . items ( ) : self . set ( key , value ) self . _defaults = kwargs self . logger . debug ( "Initializing Dynaconf (%s)" , self . _store ) self . execute_loaders ( )
Execute loaders and custom initialization

        :param settings_module: defines the setttings file
        :param kwargs:  override default settings