Skip to content

Batch service: Get status

Fetch the current status of a batch session.

Called on auth.batch
Source src/ksef2/services/batch.py:271 Generated from async source src/ksef2/services/async_batch.py
auth.batch.get_status
auth.batch.get_status(*, session: str | BatchSessionState | BatchSessionClient) -> SessionStatusResponse

Returns

SessionStatusResponse

Parameters

session str | BatchSessionState | BatchSessionClient
required / keyword-only
Called on auth.batch
Source src/ksef2/services/async_batch.py:273 Authored source
await auth.batch.get_status
await auth.batch.get_status(*, session: str | BatchSessionState | AsyncBatchSessionClient) -> SessionStatusResponse

Returns

SessionStatusResponse

Parameters

session str | BatchSessionState | AsyncBatchSessionClient
required / keyword-only