Skip to content

Batch service: Upload parts

Upload all prepared batch parts using the session’s presigned URLs.

Called on auth.batch
Source src/ksef2/services/batch.py:166 Generated from async source src/ksef2/services/async_batch.py
auth.batch.upload_parts
auth.batch.upload_parts(*, session: BatchSessionClient, prepared_batch: PreparedBatch) -> None

Returns

None

Parameters

session BatchSessionClient
required / keyword-only
prepared_batch PreparedBatch
required / keyword-only
Called on auth.batch
Source src/ksef2/services/async_batch.py:168 Authored source
await auth.batch.upload_parts
await auth.batch.upload_parts(*, session: AsyncBatchSessionClient, prepared_batch: PreparedBatch) -> None

Returns

None

Parameters

session AsyncBatchSessionClient
required / keyword-only
prepared_batch PreparedBatch
required / keyword-only