📂 FileMgr
📍
/
usr
/
lib
/
python3
/
dist-packages
/
s3transfer
/
__pycache__
✏️ /usr/lib/python3/dist-packages/s3transfer/__pycache__/futures.cpython-312.pyc
✕ Tutup
� �<�e�R � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dlm Z d dl mZmZ d dl mZmZ ej e� Z G d� d� Z G d � d � Z G d� de� Z G d � de� Z G d� d� Z G d� d� Z G d� d� Z G d� d� Z G d� de� Z G d� d� Z eddg� Z ed� Z ed� Zy)� N)� namedtuple)�futures)�MAXINT)�CancelledError�TransferNotDoneError)�FunctionContainer� TaskSemaphorec �. � e Zd Zed� � Zd� Zd� Zd� Zy)�BaseTransferFuturec � � t d� �)z-The metadata associated to the TransferFuture�meta��NotImplementedError��selfs �4/usr/lib/python3/dist-packages/s3transfer/futures.pyr zBaseTransferFuture.meta s � � "�&�)�)� c � � t d� �)zmDetermines if a TransferFuture has completed :returns: True if completed. False, otherwise. zdone()r r s r �donezBaseTransferFuture.done! s � � "�(�+�+r c � � t d� �)��Waits until TransferFuture is done and returns the result If the TransferFuture succeeded, it will return the result. If the TransferFuture failed, it will raise the exception associated to the failure. zresult()r r s r �resultzBaseTransferFuture.result( s � � "�*�-�-r c � � t d� �)z6Cancels the request associated with the TransferFuturezcancel()r r s r �cancelzBaseTransferFuture.cancel1 s � �!�*�-�-r N)�__name__� __module__�__qualname__�propertyr r r r � r r r r s# � � �*� �*�,�.�.r r c �<