b2sdk.session – B2Session class

class b2sdk.session.B2Session(api, raw_api)[source]

Bases: object

A magic facade that supplies the correct api_url and account_auth_token to methods of underlying raw_api and reauthorizes if necessary

__init__(api, raw_api)[source]

Initialize self. See help(type(self)) for accurate signature.