tensorstore.OpenMode(*, open: bool = False, create: bool = False, delete_existing: bool = False, assume_metadata: bool = False, assume_cached_metadata: bool = False)

Constructs an open mode.

Parameters:
open: bool = False

Allow opening an existing TensorStore.

create: bool = False

Allow creating a new TensorStore.

delete_existing: bool = False

Delete any existing data before creating a new array.

assume_metadata: bool = False

Don’t access the stored metadata.

assume_cached_metadata: bool = False

Skip reading the metadata when opening.