Use via
auth = client.authentication.with_token(...) Source
src/ksef2/clients/authenticated.py:255 Generated from async source src/ksef2/clients/async_authenticated.py auth.open_batch_session(*, batch_file: BatchFileInfo, aes_key: bytes, iv: bytes, encrypted_key: bytes, public_key_id: str | None = None, form_code: FormSchema = FormSchema.FA3, offline_mode: bool = False, prepared_batch: PreparedBatch | None = None) -> BatchSessionClientReturns
BatchSessionClient Parameters
batch_file BatchFileInfo aes_key bytes iv bytes encrypted_key bytes public_key_id str | None form_code FormSchema offline_mode bool prepared_batch PreparedBatch | None Use via
auth = async_client.authentication.with_token(...) Source
src/ksef2/clients/async_authenticated.py:255 Authored source auth.open_batch_session(*, batch_file: BatchFileInfo, aes_key: bytes, iv: bytes, encrypted_key: bytes, public_key_id: str | None = None, form_code: FormSchema = FormSchema.FA3, offline_mode: bool = False, prepared_batch: PreparedBatch | None = None) -> _AwaitableSession[AsyncBatchSessionClient]Returns
_AwaitableSession[AsyncBatchSessionClient] Parameters
batch_file BatchFileInfo aes_key bytes iv bytes encrypted_key bytes public_key_id str | None form_code FormSchema offline_mode bool prepared_batch PreparedBatch | None