Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler body Expr Str Pass ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults vararg body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad NameLoad Return Call NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad Raise NameLoad decorator_list Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body Return CompareEq Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Return NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Return NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Return NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Assign NameStore BoolOpOr NameLoad Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A abc N/A json N/A os six.moves configparser six add_metaclass cafe.common.reporting cclogging N/A N/A cafe.engine.mongo.client BaseMongoClient N/A N/A N/A N/A  We are temporarily ignoring errors due to plugin refactor.
    The mongo data-source is currently not being used. and needs to be
    abstracted out into a data-source plugin.
     N/A ConfigDataException N/A Exception N/A N/A N/A NonExistentConfigPathError N/A Exception N/A N/A N/A ConfigEnvironmentVariableError N/A Exception N/A N/A N/A expected_values N/A N/A N/A values N/A decorator N/A N/A fn N/A N/A wrapped N/A N/A N/A N/A UnexpectedConfigOptionValueError N/A Exception N/A N/A N/A N/A value N/A fn N/A N/A value values N/A N/A N/A UnexpectedConfigOptionValueError value N/A N/A fn N/A N/A wrapped N/A N/A decorator N/A _get_path_from_env N/A N/A os_env_var N/A N/A N/A N/A N/A N/A N/A os environ N/A os_env_var N/A N/A N/A KeyError N/A N/A msg N/A N/A '{0}' environment variable was not set. format os_env_var N/A N/A ConfigEnvironmentVariableError msg N/A N/A Exception N/A exception N/A N/A N/A N/A Unexpected exception when attempting to access '{1}' environment variable. format os_env_var N/A exception N/A N/A CONFIG_KEY CAFE_{section_name}_{key} DataSource N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self _log N/A N/A N/A cclogging logging getLogger N/A N/A cclogging get_object_namespace N/A self __class__ N/A get N/A N/A self item_name default N/A None N/A N/A NotImplementedError N/A get_raw N/A N/A self item_name default N/A None N/A N/A NotImplementedError N/A get_boolean N/A N/A self item_name default N/A None N/A N/A NotImplementedError N/A get_json N/A N/A self item_name default N/A None N/A N/A NotImplementedError N/A _str_to_bool N/A N/A value N/A N/A N/A Attempts to convert a text value to a boolean.
        Returns None otherwise. N/A value N/A N/A N/A N/A N/A value lower true N/A None N/A staticmethod _parse_json N/A N/A value log N/A None N/A N/A Parse the value as JSON. Returns None if value is invalid JSON. N/A N/A value N/A N/A None N/A N/A N/A N/A N/A json loads value N/A N/A N/A ValueError N/A error N/A N/A N/A log None N/A N/A N/A N/A log warning N/A N/A Invalid JSON '{0}'. ValueError: {1} format value error N/A None N/A staticmethod N/A N/A add_metaclass N/A abc ABCMeta EnvironmentVariableDataSource N/A DataSource N/A __init__ N/A N/A self section_name N/A N/A N/A N/A N/A N/A super EnvironmentVariableDataSource self __init__ N/A N/A self _section_name section_name N/A get N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A os environ get N/A N/A CONFIG_KEY format section_name N/A self _section_name key item_name default N/A get_raw N/A N/A self item_name default N/A None N/A N/A N/A N/A self get item_name default N/A get_boolean N/A N/A self item_name default N/A None N/A N/A N/A N/A self _str_to_bool N/A N/A self get item_name default N/A get_json N/A N/A self item_name default N/A None N/A N/A N/A N/A self _parse_json N/A N/A self get item_name default log N/A self _log N/A N/A ConfigParserDataSource N/A DataSource N/A __init__ N/A N/A self config_file_path section_name N/A N/A N/A N/A N/A N/A super ConfigParserDataSource self __init__ N/A cafe_env_var N/A key value N/A N/A key value N/A N/A N/A os environ iteritems N/A N/A key startswith CAFE_ N/A N/A self _data_source N/A N/A configparser SafeConfigParser defaults cafe_env_var N/A N/A self _section_name section_name N/A N/A N/A N/A N/A os path exists config_file_path N/A N/A msg N/A N/A Could not verify the existence of config file at {0} format config_file_path N/A N/A NonExistentConfigPathError msg N/A N/A N/A N/A N/A N/A self _data_source read config_file_path N/A N/A N/A Exception N/A exception N/A N/A N/A N/A N/A self _log exception exception N/A exception N/A get N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A N/A N/A self _data_source get N/A self _section_name item_name N/A N/A N/A N/A N/A configparser NoOptionError N/A configparser NoSectionError N/A e N/A N/A N/A default None N/A N/A N/A N/A N/A self _log error N/A str e N/A N/A msg N/A N/A {0}.  Using default value '{1}' instead format N/A str e default N/A N/A N/A N/A self _log warning msg N/A default N/A get_raw N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A N/A N/A self _data_source get N/A self _section_name item_name raw True N/A N/A N/A N/A N/A configparser NoOptionError N/A configparser NoSectionError N/A e N/A N/A N/A default None N/A N/A N/A N/A N/A self _log error N/A str e N/A N/A msg N/A N/A {0}.  Using default value '{1}' instead format N/A str e default N/A N/A N/A N/A self _log warning msg N/A default N/A get_boolean N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A N/A N/A self _data_source getboolean N/A self _section_name item_name N/A N/A N/A N/A N/A configparser NoOptionError N/A configparser NoSectionError N/A e N/A N/A N/A default None N/A N/A N/A N/A N/A self _log error N/A str e N/A N/A msg N/A N/A {0}.  Using default value '{1}' instead format N/A str e default N/A N/A N/A N/A self _log warning msg N/A default N/A get_json N/A N/A self item_name default N/A None N/A N/A value N/A N/A self _parse_json N/A N/A self get item_name None log N/A self _log N/A N/A value None N/A N/A default N/A value N/A N/A DictionaryDataSource N/A DataSource N/A get N/A N/A self item_name default N/A None N/A N/A section N/A N/A N/A self _data_source get N/A self _section_name N/A N/A section None N/A N/A N/A N/A N/A self _log error N/A N/A No section: '{section_name}' format section_name N/A self _section_name N/A None N/A N/A item_name section N/A N/A N/A N/A N/A self _log error N/A N/A No option '{item_name}' in section: '{section_name}' format section_name N/A self _section_name item_name item_name N/A default N/A N/A N/A section get item_name default N/A get_raw N/A N/A self item_name default N/A None N/A N/A section N/A N/A N/A self _data_source get N/A self _section_name N/A N/A section None N/A N/A N/A N/A N/A self _log error N/A N/A No section: '{section_name}' format section_name N/A self _section_name N/A None N/A N/A item_name section N/A N/A N/A N/A N/A self _log error N/A N/A No option '{item_name}' in section: '{section_name}' format section_name N/A self _section_name item_name item_name N/A default N/A N/A N/A section get item_name default N/A get_boolean N/A N/A self item_name default N/A None N/A N/A section N/A N/A N/A self _data_source get N/A self _section_name N/A N/A section None N/A N/A N/A N/A N/A self _log error N/A N/A No section: '{section_name}' format section_name N/A self _section_name N/A None N/A N/A item_name section N/A N/A N/A N/A N/A self _log error N/A N/A No option '{item_name}' in section: '{section_name}' format section_name N/A self _section_name item_name item_name N/A default N/A N/A N/A self _str_to_bool N/A N/A self get item_name default N/A get_json N/A N/A self item_name default N/A None N/A N/A value N/A N/A self _parse_json N/A N/A self get item_name None log N/A self _log N/A N/A value None N/A N/A default N/A value N/A N/A JSONDataSource N/A DictionaryDataSource N/A __init__ N/A N/A self config_file_path section_name N/A N/A N/A N/A N/A N/A super JSONDataSource self __init__ N/A N/A self _section_name section_name N/A N/A N/A N/A N/A os path exists config_file_path N/A N/A msg N/A N/A Could not verify the existence of config file at {0} format config_file_path N/A N/A NonExistentConfigPathError msg N/A N/A open config_file_path config_file N/A N/A config_data N/A N/A config_file read N/A N/A N/A N/A self _data_source N/A N/A json loads config_data N/A N/A N/A Exception N/A exception N/A N/A N/A N/A N/A self _log exception exception N/A exception N/A N/A MongoDataSource N/A DictionaryDataSource N/A __init__ N/A N/A self hostname db_name username password config_name section_name N/A N/A N/A N/A N/A N/A super MongoDataSource self __init__ N/A N/A self _section_name section_name N/A N/A self db N/A BaseMongoClient hostname hostname db_name db_name username username password password N/A N/A N/A N/A self db connect N/A N/A N/A N/A self db auth N/A N/A self _data_source N/A N/A N/A self db find_one N/A config_name config_name N/A N/A BaseConfigSectionInterface N/A object N/A N/A Base class for building an interface for the data contained in a
    SafeConfigParser object, as loaded from the config file as defined
    by the engine's config file.
     __init__ N/A N/A self config_file_path section_name N/A N/A N/A N/A self _log N/A N/A N/A cclogging logging getLogger N/A N/A cclogging get_object_namespace N/A self __class__ N/A N/A self _override N/A EnvironmentVariableDataSource section_name N/A N/A self _data_source N/A ConfigParserDataSource config_file_path section_name N/A N/A self _section_name section_name N/A get N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A N/A self _override get item_name None N/A N/A N/A self _data_source get item_name default N/A get_raw N/A N/A self item_name default N/A None N/A N/A N/A N/A N/A N/A self _override get_raw item_name None N/A N/A N/A self _data_source get_raw item_name default N/A get_boolean N/A N/A self item_name default N/A None N/A N/A value N/A N/A N/A self _override get_boolean item_name None N/A N/A value None N/A N/A value N/A N/A N/A self _data_source get_boolean item_name default N/A value N/A get_json N/A N/A self item_name default N/A None N/A N/A value N/A N/A N/A self _override get_json item_name None N/A N/A value None N/A N/A value N/A N/A N/A self _data_source get_json item_name default N/A value N/A N/A ConfigSectionInterface N/A BaseConfigSectionInterface N/A __init__ N/A N/A self config_file_path section_name N/A None None N/A N/A section_name N/A section_name N/A getattr self SECTION_NAME None N/A getattr self CONFIG_SECTION_NAME None N/A config_file_path N/A config_file_path N/A _get_path_from_env CAFE_CONFIG_FILE_PATH N/A N/A N/A N/A super ConfigSectionInterface self __init__ config_file_path section_name N/A N/A