Mask¶
flowtask.interfaces.mask
¶
MaskSupport
¶
Bases: ABC
MaskSupport.
Processing Masks Support.
mask_replacement
¶
mask_replacement.
Replacing occurrences of Masks into an String. Args: obj (Any): Any kind of object.
Returns:
| Name | Type | Description |
|---|---|---|
Any |
Object with replaced masks. |
mask_replacement_recursively
¶
This function replaces all occurrences of "{key}" in the obj structure with the corresponding value from the replacements dictionary, recursively.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
Any
|
an object to process. |
required |
Returns:
| Type | Description |
|---|---|
|
The modified obj structure with curly brace replacements. |