- class tensorstore.Context
Manages shared TensorStore context resources, such as caches and credentials.
See also
Constructors¶
- Context()
Constructs a default context.
-
Context(json: Any, parent: Context | None =
None
) Constructs a context from its
JSON representation
.
Classes¶
- class Spec
Parsed representation of a
JSON Context
specification.
- class Resource
Handle to a context resource.
Accessors¶
- spec : Context.Spec
Spec from which this context was constructed.
- __getitem__(key: str) Context.Resource
Creates or retrieves the context resource for the given key.