MCPcopy Index your code
hub / github.com/aws/aws-cli / __init__

Method __init__

awscli/s3transfer/futures.py:73–90  ·  view source on GitHub ↗

The future associated to a submitted transfer request :type meta: TransferMeta :param meta: The metadata associated to the request. This object is visible to the requester. :type coordinator: TransferCoordinator :param coordinator: The coordinator associ

(self, meta=None, coordinator=None)

Source from the content-addressed store, hash-verified

71
72class TransferFuture(BaseTransferFuture):
73 def __init__(self, meta=None, coordinator=None):
74 """The future associated to a submitted transfer request
75
76 :type meta: TransferMeta
77 :param meta: The metadata associated to the request. This object
78 is visible to the requester.
79
80 :type coordinator: TransferCoordinator
81 :param coordinator: The coordinator associated to the request. This
82 object is not visible to the requester.
83 """
84 self._meta = meta
85 if meta is None:
86 self._meta = TransferMeta()
87
88 self._coordinator = coordinator
89 if coordinator is None:
90 self._coordinator = TransferCoordinator()
91
92 @property
93 def meta(self):

Callers

nothing calls this directly

Calls 2

TransferMetaClass · 0.85
TransferCoordinatorClass · 0.85

Tested by

no test coverage detected