slack_jira/resources.py
def load_into_settings_module(self, settings_module):
        """
        Loads the appropriate settings into the module specified.

        We need to load the settings into the setting module because we cannot inject the
        settings into the actual bot object... :(

        Perhaps a PR will be created to allow that...

        :param settings_module: The settings module
        :type settings_module: module
        """

        if self._api_token:
            settings_module.API_TOKEN = self._api_token

        if self._bot_emoji:
            settings_module.BOT_EMOJI = self._bot_emoji

        if self._bot_icon:
            settings_module.BOT_ICON = self._bot_icon

        if self._errors_to:
            settings_module.ERRORS_TO = self._errors_to

        # TODO: Perhaps figure out a better way to do this...
        settings_module.PLUGINS = set(self._slackbot_plugins)

        Loads the appropriate settings into the module specified.

        We need to load the settings into the setting module because we cannot inject the
        settings into the actual bot object... :(

        Perhaps a PR will be created to allow that...

        :param settings_module: The settings module
        :type settings_module: module
        
Loads the appropriate settings into the module specified.
We need to load the settings into the setting module because we cannot inject the
settings into the actual bot object...

Perhaps a PR will be created to allow that
Loads the appropriate settings into the module specified . We need to load the settings into the setting module because we cannot inject the settings into the actual bot object ... Perhaps a PR will be created to allow that
def load_into_settings_module(self, settings_module):
        if self._api_token:
            settings_module.API_TOKEN = self._api_token
        if self._bot_emoji:
            settings_module.BOT_EMOJI = self._bot_emoji
        if self._bot_icon:
            settings_module.BOT_ICON = self._bot_icon
        if self._errors_to:
            settings_module.ERRORS_TO = self._errors_to
        settings_module.PLUGINS = set(self._slackbot_plugins)
def load_into_settings_module ( self , settings_module ) : if self . _api_token : settings_module . API_TOKEN = self . _api_token if self . _bot_emoji : settings_module . BOT_EMOJI = self . _bot_emoji if self . _bot_icon : settings_module . BOT_ICON = self . _bot_icon if self . _errors_to : settings_module . ERRORS_TO = self . _errors_to settings_module . PLUGINS = set ( self . _slackbot_plugins )
Loads the appropriate settings into the module specified.
Loads the appropriate settings into the module specified .
"""
        Loads the appropriate settings into the module specified.

        We need to load the settings into the setting module because we cannot inject the
        settings into the actual bot object... :(

        Perhaps a PR will be created to allow that...

        :param settings_module: The settings module
        :type settings_module: module
        """ # TODO: Perhaps figure out a better way to do this...
self
settings_module
The settings module
The settings module