ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class FileInfo: (source)

View In Hierarchy

Immutable snapshot of a stored file's metadata.

Instances are produced by storage drivers and returned by await file.info(). All values reflect the state of the file at the moment the snapshot was taken.

Instance Variable checksum SHA-256 hex digest of the content, or None when unavailable.
Instance Variable createdAt Timezone-aware creation timestamp, or None when the driver cannot provide it.
Instance Variable etag Entity tag of the content (MD5 hex digest for built-in drivers), or None when unavailable.
Instance Variable lastModified Timezone-aware timestamp of the last modification.
Instance Variable mimeType Guessed MIME type, or None when it cannot be determined.
Instance Variable path Canonical root-relative path of the file on its disk.
Instance Variable size File size in bytes.
Instance Variable url Public URL of the file, or None when the disk does not expose URLs.
Instance Variable visibility Visibility level of the file ('public' or 'private').
checksum: str | None = (source)

SHA-256 hex digest of the content, or None when unavailable.

createdAt: datetime | None = (source)

Timezone-aware creation timestamp, or None when the driver cannot provide it.

etag: str | None = (source)

Entity tag of the content (MD5 hex digest for built-in drivers), or None when unavailable.

lastModified: datetime = (source)

Timezone-aware timestamp of the last modification.

mimeType: str | None = (source)

Guessed MIME type, or None when it cannot be determined.

Canonical root-relative path of the file on its disk.

File size in bytes.

url: str | None = (source)

Public URL of the file, or None when the disk does not expose URLs.

visibility: str = (source)

Visibility level of the file ('public' or 'private').