pipelinex.hatch_dict package

Submodules

pipelinex.hatch_dict.hatch_dict module

class pipelinex.hatch_dict.hatch_dict.Construct(obj)[source]

Bases: object

__init__(obj)[source]

Initialize self. See help(type(self)) for accurate signature.

class pipelinex.hatch_dict.hatch_dict.Get(*args, **kwargs)[source]

Bases: pipelinex.hatch_dict.hatch_dict.Method

method = 'get'
class pipelinex.hatch_dict.hatch_dict.HatchDict(egg, lookup={}, support_nested_keys=True, self_lookup_key='$', support_import=True, additional_import_modules=['pipelinex'], obj_key='=', eval_parentheses=True)[source]

Bases: object

__init__(egg, lookup={}, support_nested_keys=True, self_lookup_key='$', support_import=True, additional_import_modules=['pipelinex'], obj_key='=', eval_parentheses=True)[source]

Initialize self. See help(type(self)) for accurate signature.

get(key=None, default=None, lookup={})[source]
Return type:

Any

get_params()[source]
items()[source]
keys()[source]
class pipelinex.hatch_dict.hatch_dict.Method(*args, **kwargs)[source]

Bases: object

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

method = None
class pipelinex.hatch_dict.hatch_dict.ToPipeline(*args)[source]

Bases: object

__init__(*args)[source]

Initialize self. See help(type(self)) for accurate signature.

pipelinex.hatch_dict.hatch_dict.dot_flatten(d)[source]
pipelinex.hatch_dict.hatch_dict.feed(func, args)[source]
pipelinex.hatch_dict.hatch_dict.load_obj(obj_path, default_obj_path='')[source]

Extract an object from a given path. :type obj_path: str :param obj_path: Path to an object to be extracted, including the object name. :type default_obj_path: str :param default_obj_path: Default object path.

Return type:

Any

Returns:

Extracted object.

Raises:

AttributeError – When the object does not have the given named attribute.

pipelinex.hatch_dict.hatch_dict.pass_(*argsignore, **kwargsignore)[source]
pipelinex.hatch_dict.hatch_dict.pass_through(*args, **kwargs)[source]