17.1.1.5. AcquisitionReinjectStep

class acquisition.AcquisitionReinjectStep[source]

Bases: acquisition.AcquisitionStep

Class to describe a re-inject acquisition step.

Attributes Summary

debug_mode_allowed

Methods Summary

add_extra_arguments(parser) Add some extra argument to commande line parsing.
destroy() Destroy what you want just before exiting.
give_up(xaf)
init() Method called after CLI parsing but before processing any files.
ping() Do something every second if possible.
reinject(xaf, retry_attempt)

Attributes Documentation

debug_mode_allowed = False

Methods Documentation

add_extra_arguments(parser)[source]

Add some extra argument to commande line parsing.

If you have to add some, you have to override this method.

Parameters:parser – an ArgumentParser object (with default options added).
destroy()[source]

Destroy what you want just before exiting.

No file will be processed after calling this method.

give_up(xaf)[source]
init()[source]

Method called after CLI parsing but before processing any files.

ping()[source]

Do something every second if possible.

The call can be blocked by a long running process() call.

reinject(xaf, retry_attempt)[source]