get(key, default='__no_default__', config={'temporary-directory': None, 'tokenize': {'ensure-deterministic': False}, 'dataframe': {'shuffle-compression': None, 'parquet': {'metadata-task-size-local': 512, 'metadata-task-size-remote': 16}}, 'array': {'svg': {'size': 120}, 'slicing': {'split-large-chunks': None}, 'chunk-size': '128MiB', 'rechunk-threshold': 4}, 'optimization': {'fuse': {'active': None, 'ave-width': 1, 'max-width': None, 'max-height': inf, 'max-depth-new-edges': None, 'subgraphs': None, 'rename-keys': True}}}, override_with=None)
If override_with
is not None this value will be passed straight back. Useful for getting kwarg defaults from Dask config.
Use '.' for nested access
Get elements from global config
>>> from dask import configThis example is valid syntax, but we were not able to check execution
... config.get('foo') # doctest: +SKIP {'x': 1, 'y': 2}
>>> config.get('foo.x') # doctest: +SKIP 1This example is valid syntax, but we were not able to check execution
>>> config.get('foo.x.y', default=123) # doctest: +SKIP 123This example is valid syntax, but we were not able to check execution
>>> config.get('foo.y', override_with=None) # doctest: +SKIP 2This example is valid syntax, but we were not able to check execution
>>> config.get('foo.y', override_with=3) # doctest: +SKIP 3See :
The following pages refer to to this document either explicitly or contain code examples using this.
dask.config.set
dask.config.get
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them