File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 11# Runtime configuration
22
3- ` zarr.config ` is responsible for managing the configuration of zarr and
3+ [ ` zarr.config ` ] [ ] is responsible for managing the configuration of zarr and
44is based on the [ donfig] ( https://github.com/pytroll/donfig ) Python library.
55
66Configuration values can be set using code like the following:
77
8- ``` python
8+ ``` python exec="true" session="config" source="above" result="ansi"
9+
910import zarr
1011
12+ print (zarr.config.get(' array.order' ))
13+ ```
14+
15+ ``` python exec="true" session="config" source="above" result="ansi"
1116zarr.config.set({' array.order' : ' F' })
12- # <donfig.config_obj.ConfigSet object at ...>
1317
14- # revert this change so it doesn't impact the rest of the docs
15- zarr.config.set({' array.order' : ' C' })
16- # <donfig.config_obj.ConfigSet object at ...>
18+ print (zarr.config.get(' array.order' ))
1719```
1820
1921Alternatively, configuration values can be set using environment variables, e.g.
You can’t perform that action at this time.
0 commit comments