18.1.1.5. AcquisitionReinjectStep¶
-
class
acquisition.
AcquisitionReinjectStep
[source]¶ Bases:
acquisition.AcquisitionStep
Class to describe a re-inject acquisition step.
Attributes Summary
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.
-