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