Image archives (pyobs.robotic.utils.archive)

TODO: write doc

Archive

class Archive

Base class for image archives.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

LocalArchive

class LocalArchive(*, root: str)

Connector class to a local image archive.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

PyobsArchive

class PyobsArchive(*, url: str, token: str, proxies: dict[str, str] | None = None)

Connector class to running pyobs-archive instance.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.