colrev.ops.prep_man.PrepMan

class PrepMan(*, review_manager, notify_state_transition_operation=True)[source]

Bases: Operation

Prepare records manually (metadata)

Methods

check_precondition

Check the operation precondition

conclude

Conclude the operation (stop Docker containers)

decorate

Decorator for operations

get_data

Get the data for prep-man

main

rtype:

Any

notify

Notify the review_manager about the next operation

prep_man_langs

Add missing language fields based on spreadsheets

prep_man_stats

Print statistics on prep_man

set_data

Set data in the prep_man 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_data()[source]

Get the data for prep-man

Return type:

dict

notify(*, state_transition=True)

Notify the review_manager about the next operation

Return type:

None

prep_man_langs()[source]

Add missing language fields based on spreadsheets

Return type:

None

prep_man_stats()[source]

Print statistics on prep_man

Return type:

None

set_data(*, record_dict)[source]

Set data in the prep_man operation

Return type:

None