module documentation

Structures and utilities for tree layers.

Class Config No class docstring; 4/4 class variables documented
Class FlattenConfig Layer hierarchy flattening
Class TreeConfigArgs Undocumented
Function layer_configs_from_args Generate a config tree from a list of source layers.
Function layer_configs_from_layer Generate a config tree from a list of source layers and the main layer config.
Function _base_config Undocumented
Function _config Undocumented
def layer_configs_from_args(tca: TreeConfigArgs) -> list[gws.Config]: (source)

Generate a config tree from a list of source layers.

def layer_configs_from_layer(layer: core.Object, source_layers: list[gws.SourceLayer], leaf_layer_maker: t.Callable) -> list[gws.Config]: (source)

Generate a config tree from a list of source layers and the main layer config.

def _base_config(tca: TreeConfigArgs, sl: gws.SourceLayer, depth: int): (source)

Undocumented

def _config(tca: TreeConfigArgs, sl: gws.SourceLayer, depth: int): (source)

Undocumented