Name Description Size
__init__.py Python client for Taskcluster 483
asyncclient.py This module is used to interact with taskcluster rest apis 10960
asyncutils.py Make an HTTP request and retry it until success, return request 5138
auth.py 83
authevents.py 89
awsprovisioner.py 93
download.py Support for downloading objects from the object service, following best practices for that service. Downloaded data is written to a "writer" provided by a "writer factory". A writer has an async `write` method which writes the entire passed buffer to storage. A writer factory is an async callable which returns a fresh writer, ready to write the first byte of the object. When downloads are retried, the writer factory may be called more than once. Note that `aiofile.open` returns a value suitable for use as a writer, if async file IO is important to the application. This module provides several pre-defined writers and writer factories for common cases. 6966
ec2manager.py 89
github.py 85
githubevents.py 91
hooks.py 84
hooksevents.py 90
index.py 84
login.py 84
notify.py 85
notifyevents.py 91
purgecache.py 89
queue.py 84
queueevents.py 90
reader_writer.py Utilities supporting the "reader" and "writer" definitions used in uploads and downloads. 2236
retry.py Retry async `tryFn` based on `maxRetries`. Each call to `tryFn` will pass a callable which should be called with the exception object when an exception can be retried. Exceptions raised from `tryFn` are treated as fatal. 1144
secrets.py 86
upload.py Support for uploading objects to the object service, following best practices for that service. Data for upload is read from a "reader" provided by a "reader factory". A reader has an async `read(max_size)` method which reads and returns a chunk of 1 .. `max_size` bytes, or returns an empty string at EOF. A reader factory is an async callable which returns a fresh reader, ready to read the first byte of the object. When uploads are retried, the reader factory may be called more than once. Note that `aiofile.open` returns a value suitable for use as a reader, if async file IO is important to the application. This module provides several pre-defined readers and reader factories for common cases. 6006
workermanager.py 92
workermanagerevents.py 98