File push

File push service

Provides coroutine-based methods for managing file upload operations in the Norman platform.

The FilePush class handles socket allocation for uploading model assets and inputs, as well as completion tracking via checksum verification.

allocate_socket_for_asset(token, pairing_request) async

Coroutine

Allocate a socket endpoint for uploading a model asset to Norman.


Parameters

  • token (Sensitive[str]) — Authentication token authorizing the request.

  • pairing_request (SocketAssetPairingRequest) — Request object defining asset pairing and upload configuration.


Response Structure

  • response (SocketPairingResponse) — Contains information about the allocated socket for uploading.

allocate_socket_for_input(token, pairing_request) async

Coroutine

Allocate a socket endpoint for uploading model input data to Norman.


Parameters

  • token (Sensitive[str]) — Authentication token authorizing the request.

  • pairing_request (SocketInputPairingRequest) — Request object defining the input upload configuration.


Response Structure

  • response (SocketPairingResponse) — Contains details about the allocated socket for uploading input data.


complete_file_transfer(token, checksum_request) async

Coroutine

Notify Norman that a file upload has completed and verify its integrity.

This finalizes the upload session by submitting a checksum for validation.


Parameters

  • token (Sensitive[str]) — Authentication token authorizing the request.

  • checksum_request (ChecksumRequest) — Request object containing checksum validation details.


Response Structure

  • response (None) — No response body. A successful status confirms the upload has been finalized and validated.

·

©

2026

·

©

2026