kazu.krt.ontology_update_editor.components

Functions

get_upgrade_manager(parser_name)

Get an OntologyUpdateManager instance for the given parser_name.

Classes

class kazu.krt.ontology_update_editor.components.OntologyUpdateForm[source]

Bases: object

static display_download_config_modifier_form(manager)[source]
Parameters:

manager (OntologyUpdateManager)

Returns:

Return type:

None

static display_download_form(manager)[source]
Parameters:

manager (OntologyUpdateManager)

Return type:

None

static display_main_form()[source]
Return type:

None

static get_attempt_download_key(parser_name)[source]
Parameters:

parser_name (str)

Return type:

str

static get_download_completed_or_skipped(parser_name)[source]
Parameters:

parser_name (str)

Return type:

bool

static get_updates_saved(parser_name)[source]
Parameters:

parser_name (str)

Return type:

bool

static get_updates_saved_key(parser_name)[source]
Parameters:

parser_name (str)

Return type:

str

static set_download_completed_or_skipped(parser_name)[source]
Parameters:

parser_name (str)

Return type:

None

ATTEMPT_DOWNLOAD = 'download_skipped'
DOWNLOAD_COMPLETED_OR_SKIPPED = 'download_completed'
UPDATES_SAVED = 'updates_saved'
kazu.krt.ontology_update_editor.components.get_upgrade_manager(parser_name)[source]

Get an OntologyUpdateManager instance for the given parser_name.

Parameters:

parser_name (str)

Returns:

Return type:

OntologyUpdateManager