field_map_path module

Define a useless command to serve as place holder.

class FieldMapPath(line, dat_idx=None, default_field_map_folder=None, **kwargs)[source]

Bases: Command

Used to get the base path of field maps.

Parameters:
is_implemented: bool = True
n_attributes: int | range | Collection = 1
__init__(line, dat_idx=None, default_field_map_folder=None, **kwargs)[source]

Save the given path as attribute.

Parameters:
Return type:

None

_abc_impl = <_abc._abc_data object at 0x7318fc243ac0>
set_influenced_elements(instructions, **kwargs)[source]

Determine the index of the elements concerned by apply().

Parameters:
Return type:

None

apply(instructions, **kwargs)[source]

Set FieldMap field folder up.

If another FieldMapPath is found, we stop and this command will be applied later.

Parameters:
Return type:

list[Instruction]