colrev.ops.distribute.Distribute

class 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

get_next_id(*, bib_file)[source]

Get the next ID (incrementing counter)

Return type:

int

notify(*, state_transition=True)

Notify the review_manager about the next operation

Return type:

None