- tensorstore.Spec.open_mode : OpenMode
Open mode with which the driver will be opened.
If not applicable, equal to
OpenMode()
.Example
>>> spec = ts.Spec({'driver': 'zarr', 'kvstore': 'memory://'}) >>> spec.open_mode OpenMode(open=True) >>> spec.update(create=True, delete_existing=True) >>> spec.open_mode OpenMode(create=True, delete_existing=True) >>> spec.update(open_mode=ts.OpenMode(open=True, create=True)) >>> spec.open_mode OpenMode(open=True, create=True)