API

Request Base

class OBRequests.base.RequestBase(client, base_url: str, actions: Optional[dict] = None, **kwargs)

OBRequest Base.

Parameters
  • base_url (str) – Base URL.

  • actions (dict, optional) – Actions to call at status codes, by default None

  • kwargs – Paramters to phrase.

Awaiting

class OBRequests.Awaiting(*args, **kwargs)
await _close() → None

Closes sessions.

Blocking

class OBRequests.Blocking(*args, **kwargs)
_close() → None

Closes sessions.