PyContentBatchMigrationResult
class PyContentBatchMigrationResult(content_batch_migration_result)
Bases: Generic
[TContent
], PyResult
IResult object for a migration action.
- Parameters: content_batch_migration_result (IContentBatchMigrationResult [ ])
__init__(content_batch_migration_result)
Creates a new PyContentBatchMigrationResult object.
Args: : content_batch_migration_result: A IContentBatchMigrationResult object.
Returns: None.
- Parameters: content_batch_migration_result (IContentBatchMigrationResult [ ])
- Return type: None
Methods
__init__ (content_batch_migration_result) |
Creates a new PyContentBatchMigrationResult object. |
---|---|
for_next_batch (perform_next_batch) |
Creates a new PerformNextBatch value. |
Attributes
errors |
Gets any exceptions encountered during the operation. |
---|---|
item_results |
Gets the migration result of each item in the batch, in the order they finished. |
perform_next_batch |
Gets whether or not to migrate the next batch, if any. |
success |
Gets whether the operation was successful. |
property errors : Sequence[Exception]
Gets any exceptions encountered during the operation.
for_next_batch(perform_next_batch)
Creates a new PerformNextBatch value.
Args: : perform_next_batch: Whether or not to migrate the next batch.
Returns: The new IContentBatchMigrationResult object.
- Parameters: perform_next_batch (bool)
- Return type: Self
property item_results : Sequence[PyContentItemMigrationResult[TContent]]
Gets the migration result of each item in the batch, in the order they finished.
property perform_next_batch : bool
Gets whether or not to migrate the next batch, if any.
property success : bool
Gets whether the operation was successful.