http_async module

exception http_async.CircuitOpenError(service, endpoint)[מקור]

Bases: RuntimeError

פרמטרים:
  • service (str)

  • endpoint (str)

__init__(service, endpoint)[מקור]
פרמטרים:
  • service (str)

  • endpoint (str)

http_async.get_session()[מקור]
Return type:

ClientSession

http_async.request(method, url, **kwargs)[מקור]
Return type:

_ResilientRequestContext

פרמטרים:
async http_async.close_session()[מקור]
Return type:

None