class documentation

class Config:

Known subclasses: babelnet.conf.BabelNetConfig

View In Hierarchy

Base configuration object.

Class Method options Return a dictionary with the Option objects for this config
Method __init__ init method
Method defaults Return the default values of this configuration.
Method load_dict Load a dictionary of configuration values.
Method load_file Load config from a YAML file.
Method snapshot Return a snapshot of the current values of this configuration.
Method __setattr__ Undocumented
Method __str__ Undocumented
Instance Variable _loaded_files files loaded for the config
Instance Variable _values Values of the configuration
@classmethod
def options(cls):

Return a dictionary with the Option objects for this config

def __init__(self):

init method

def defaults(self):

Return the default values of this configuration.

def load_dict(self, dct):

Load a dictionary of configuration values.

def load_file(self, filename):

Load config from a YAML file.

def snapshot(self):

Return a snapshot of the current values of this configuration.

def __setattr__(self, name, value):

Undocumented

def __str__(self):

Undocumented

_loaded_files: list =

files loaded for the config

_values: dict =

Values of the configuration