Przejdź do głównej zawartości

Authenticated client: Online session

Ta treść nie jest jeszcze dostępna w Twoim języku.

Open a new online invoice session and return a bound session client.

Use via auth = client.authentication.with_token(...)
Source src/ksef2/clients/authenticated.py:121 Generated from async source src/ksef2/clients/async_authenticated.py
auth.online_session
auth.online_session(*, form_code: FormSchema) -> OnlineSessionClient

Returns

OnlineSessionClient

Parameters

form_code FormSchema
required / keyword-only
Use via auth = async_client.authentication.with_token(...)
Source src/ksef2/clients/async_authenticated.py:119 Authored source
auth.online_session
auth.online_session(*, form_code: FormSchema) -> _AwaitableSession[AsyncOnlineSessionClient]

Returns

_AwaitableSession[AsyncOnlineSessionClient]

Parameters

form_code FormSchema
required / keyword-only