PyMigrationActionResult
class PyMigrationActionResult(migration_action_result)
Bases: PyResult
IResult object for a migration action.
- Parameters: migration_action_result (IMigrationActionResult)
__init__(migration_action_result)
Creates a new PyMigrationActionResult object.
Args: : migration_action_result: A IMigrationActionResult object.
Returns: None.
- Parameters: migration_action_result (IMigrationActionResult)
- Return type: None
Methods
__init__ (migration_action_result) |
Creates a new PyMigrationActionResult object. |
---|---|
for_next_action (perform_next_action) |
Creates a new PerformNextAction value. |
Attributes
errors |
Gets any exceptions encountered during the operation. |
---|---|
perform_next_action |
Gets whether or not to perform the next action in the pipeline. |
success |
Gets whether the operation was successful. |
property errors : Sequence[Exception]
Gets any exceptions encountered during the operation.
for_next_action(perform_next_action)
Creates a new PerformNextAction value.
Args: : perform_next_action: Whether or not to perform the next action in the pipeline.
Returns: The new IMigrationActionResult object.
- Parameters: perform_next_action (bool)
- Return type: Self
property perform_next_action : bool
Gets whether or not to perform the next action in the pipeline.
property success : bool
Gets whether the operation was successful.