Table of Contents

Namespace OptunaSharp.Artifacts

Classes

ArtifactFunctions

Module-level artifact functions: upload_artifact, download_artifact, get_all_artifact_meta.

ArtifactMeta

Meta information for an artifact. Port of optuna/artifacts/_upload.py: ArtifactMeta.

ArtifactNotFound

Exception raised when an artifact is not found. Port of optuna/artifacts/exceptions.py: ArtifactNotFound.

It is typically raised while calling OpenReader(string) or Remove(string).

Backoff

An artifact store's middleware for exponential backoff. Port of optuna/artifacts/_backoff.py: Backoff.

FileSystemArtifactStore

An artifact store for file systems. Port of optuna/artifacts/_filesystem.py: FileSystemArtifactStore.

Interfaces

IArtifactStore

A protocol defining the interface for an artifact backend. Port of optuna/artifacts/_protocol.py: ArtifactStore (a Python Protocol → C# interface).

The methods defined in this interface are not supposed to be directly called by library users. An artifact backend is responsible for managing the storage and retrieval of artifact data: opening, writing and removing artifacts.