colrev.ops.distribute.Distribute¶
- class Distribute(*, review_manager)[source]¶
Bases:
Operation
Distribute records to other local CoLRev projects
Methods
Check the operation precondition
Conclude the operation (stop Docker containers)
Decorator for operations
Get the environment registry (excluding curated_metadata)
Get the next ID (incrementing counter)
main
- rtype:
Any
Notify 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