UploadSessionInfo Class

Information about an image store upload session. A session is associated with a relative path in the image store.

Inheritance
UploadSessionInfo

Constructor

UploadSessionInfo(*, store_relative_path: Optional[str] = None, session_id: Optional[str] = None, modified_date=None, file_size: Optional[str] = None, expected_ranges=None, **kwargs)

Parameters

store_relative_path
str
Required

The remote location within image store. This path is relative to the image store root.

session_id
str
Required

A unique ID of the upload session. A session ID can be reused only if the session was committed or removed.

modified_date
datetime
Required

The date and time when the upload session was last modified.

file_size
str
Required

The size in bytes of the uploading file.

expected_ranges
list[UploadChunkRange]
Required

List of chunk ranges that image store has not received yet.