Uploader Runners Python Module¶
Uploader runner module.
This module contains the methods for uploading data either remotely or locally.
-
class
pacifica.dispatcher.uploader_runners.
UploaderRunner
[source]¶ Abstract base class for uploading.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 48¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
-
class
pacifica.dispatcher.uploader_runners.
LocalUploaderRunner
[source]¶ Handle uploading to a local directory.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 48¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
upload
(basedir_name: str, transaction: pacifica.dispatcher.models.Transaction = None, transaction_key_values: List[pacifica.dispatcher.models.TransactionKeyValue] = None, timeout: int = 180) → Tuple[pacifica.uploader.bundler.bundler.Bundler, int, Dict[str, Any]][source]¶ Fake upload by bundling up data to output directory.
-
-
class
pacifica.dispatcher.uploader_runners.
RemoteUploaderRunner
(uploader: pacifica.uploader.uploader.Uploader)[source]¶ Handle uploading to a remote Pacifica instance.
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 48¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
upload
(basedir_name: str, transaction: pacifica.dispatcher.models.Transaction = None, transaction_key_values: List[pacifica.dispatcher.models.TransactionKeyValue] = None, timeout: int = 180) → Tuple[pacifica.uploader.bundler.bundler.Bundler, int, Dict[str, Any]][source]¶ Perform the upload to Pacifica.
-