pyfileconf_datacode package

Submodules

pyfileconf_datacode.config module

pyfileconf_datacode.dchooks module

Hooks into datacode to update pyfileconf context with datacode operations

pyfileconf_datacode.dchooks.add_hooks()[source]
pyfileconf_datacode.dchooks.update_pfc_context_to_original(operation)[source]

Revert the change to pyfileconf currently running context made by update_pfc_context_to_pipeline_section_path()

Parameters

operation (DataOperation) – The operation which was just executed

Return type

None

Returns

None

pyfileconf_datacode.dchooks.update_pfc_context_to_pipeline_section_path(operation)[source]

Get the section path of the operation’s pipeline and update the pyfileconf currently running context to this section path

Parameters

operation (DataOperation) – The operation which is about to be executed

Return type

None

Returns

None

pyfileconf_datacode.dcopts module

Functions to set options in datacode to work better with pyfileconf

pyfileconf_datacode.dcopts.set_datacode_options()[source]

pyfileconf_datacode.deepdiff_patch module

pyfileconf_datacode.deepdiff_patch.deephash_patch()[source]

On processing object in deephash, if that object is an ItemView, process the original item rather than the ItemView

Returns

pyfileconf_datacode.model module

Methods to attach to pyfileconf-datacode objects

pyfileconf_datacode.model.pyfileconf_update(obj, **kwargs)[source]

Handles pyfileconf config updates for DataSource and DataPipeline

Transfers forward links to the newly initialized object as those are set by other objects

Parameters
  • obj (Union[DataSource, DataPipeline]) –

  • kwargs

Returns

pyfileconf_datacode.plugin module

pyfileconf_datacode.reset module