tiled.config.construct_serve_tree_kwargs

tiled.config.construct_serve_tree_kwargs(config, *, source_filepath=None, query_registry=None, compression_registry=None, serialization_registry=None)[source]

Given parsed configuration, construct arguments for serve_tree(…).

The parameters query_registry, compression_registry, and serialization_registry are used by the tests to inject separate registry instances. By default, the singleton global instances of these registries and used (and modified).