colrev.ops.distribute.Distribute
- class colrev.ops.distribute.Distribute(*, review_manager)[source]
Bases:
OperationDistribute records to other local CoLRev projects.
Initialize the instance.
Methods
check_preconditionCheck the operation precondition.
concludeConclude the operation (stop Docker containers).
decorateDecorator for operations.
get_environment_registryGet the environment registry (excluding curated_metadata).
get_next_idGet the next ID (incrementing counter).
main- rtype:
Any
notifyNotify the review_manager about the next operation.
Attributes
type- check_precondition()
Check the operation precondition.
- Return type:
None
- conclude()
Conclude the operation (stop Docker containers).
- Return type:
None
- classmethod decorate()
Decorator for operations.
- Return type:
Callable
- get_environment_registry()[source]
Get the environment registry (excluding curated_metadata).
- Return type:
list
- notify(*, state_transition=True)
Notify the review_manager about the next operation.
- Return type:
None