class documentation
class AsynchronousRenewableFileCacheBearer(ParentBearer): (source)
Constructor: AsynchronousRenewableFileCacheBearer(source, max_retries, initial_safety_margin, retry_safety_margin, ...)
Undocumented
Method | __init__ |
Undocumented |
Method | bg |
Run a coroutine without awaiting or tracking, and log any exceptions. |
Async Method | close |
Undocumented |
Async Method | fetch |
Undocumented |
Method | is |
Undocumented |
Method | receiver |
Undocumented |
Method | request |
Undocumented |
Method | stop |
Undocumented |
Instance Variable | safety |
Undocumented |
Property | wrapped |
Return the wrapped bearer. |
Async Method | _fetch |
Undocumented |
Async Method | _run |
Undocumented |
Instance Variable | _break |
Undocumented |
Instance Variable | _file |
Undocumented |
Instance Variable | _initial |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _lifetime |
Undocumented |
Instance Variable | _max |
Undocumented |
Instance Variable | _max |
Undocumented |
Instance Variable | _refresh |
Undocumented |
Instance Variable | _refresh |
Undocumented |
Instance Variable | _renew |
Undocumented |
Instance Variable | _renew |
Undocumented |
Instance Variable | _renew |
Undocumented |
Instance Variable | _renewal |
Undocumented |
Instance Variable | _renewal |
Undocumented |
Instance Variable | _retry |
Undocumented |
Instance Variable | _retry |
Undocumented |
Instance Variable | _source |
Undocumented |
Instance Variable | _synchronous |
Undocumented |
Instance Variable | _tasks |
Undocumented |
Inherited from Bearer
:
Property | name |
Undocumented |
def __init__(self, source: hours=2), retry_safety_margin: hours=2), lifetime_safe_fraction: seconds=1), max_retry_timeout: minutes=1), retry_timeout_exponent: seconds=5), file_cache_throttle: minutes=5)):
(source)
¶
ParentBearer
, max_retries: int
= 2, initial_safety_margin: timedelta | float | None
= timedelta(timedelta
= timedelta(float
= 0.9, initial_retry_timeout: timedelta
= timedelta(timedelta
= timedelta(float
= 1.5, refresh_request_timeout: timedelta
= timedelta(timedelta | float
= timedelta(Undocumented
async def fetch(self, timeout:
float | None
= None, options: dict[ str, str] | None
= None) -> Token
:
(source)
¶
Undocumented