PyContentTransformerBase
class PyContentTransformerBase
Bases: Generic
[TPublish
]
Generic base class for transformers.
__init__()
Methods
__init__ () |
|
---|---|
transform (item_to_transform) |
Executes the transformation. |
transform(item_to_transform)
Executes the transformation.
Args: : item_to_transform: The input context from the migration engine or previous hook.
Returns: : The context, potentially modified to pass on to the next hook or migration engine, or None to continue passing the input context.
- Parameters: item_to_transform (TPublish)
- Return type: TPublish