tensorstore.Context.spec : Context.Spec

Spec from which this context was constructed.

Example

>>> parent = ts.Context({
...     'cache_pool': {
...         'total_bytes_limit': 5000000
...     },
...     'file_io_concurrency': {
...         'limit': 10
...     }
... })
>>> child = ts.Context({'cache_pool': {
...     'total_bytes_limit': 10000000
... }},
...                    parent=parent)
>>> child.spec
Context.Spec({'cache_pool': {'total_bytes_limit': 10000000}})
>>> child.parent.spec
Context.Spec({
  'cache_pool': {'total_bytes_limit': 5000000},
  'file_io_concurrency': {'limit': 10},
})