(self, config_dict: Dict[Text, Text])
Loads configuration from a dictionary.

        Only loads the config items that are needed for the client,
        other keys are ignored in the dict object.

        Args:
            config_dict (dict): dict object with configuration.
Loads configuration from a dictionary.
Loads configuration from a dictionary .
def load_config_dict(self, config_dict: Dict[Text, Text]):
        """Loads configuration from a dictionary.

        Only loads the config items that are needed for the client,
        other keys are ignored in the dict object.

        Args:
            config_dict (dict): dict object with configuration.
        """
        fields = list(self.CLIENT_NEEDED)
        fields.extend(list(self.OAUTH_CLIENT_NEEDED))
        fields.extend(list(self.EXTRA_FIELDS))

        for key, value in config_dict.items():
            key = key.lower()
            if key not in fields:
                continue

            if not value:
                continue
            self.set_config(key, value)
def load_config_dict ( self , config_dict : Dict [ Text , Text ] ) : fields = list ( self . CLIENT_NEEDED ) fields . extend ( list ( self . OAUTH_CLIENT_NEEDED ) ) fields . extend ( list ( self . EXTRA_FIELDS ) ) for key , value in config_dict . items ( ) : key = key . lower ( ) if key not in fields : continue if not value : continue self . set_config ( key , value )