aleph.util

aleph.util.dict_list(data)

Get an entry as a list from a dict. Provide a fallback key.

aleph.util.load_config_file(file_path)

Load a YAML (or JSON) bulk load mapping file.

aleph.util.resolve_includes(file_path, data)

Handle include statements in the graph configuration file.

This allows the YAML graph configuration to be broken into multiple smaller fragments that are easier to maintain.

SessionTask

class aleph.util.SessionTask

Imports

  • <UNKNOWN>
on_failure(self, exc, task_id, args, kwargs, einfo)