spekk.trees.registry.dispatch_by_type# spekk.trees.registry.dispatch_by_type(tree: Mapping[Any, Mapping[Any, Tree] | Sequence[Tree] | Any] | Sequence[Mapping[Any, Tree] | Sequence[Tree] | Any] | Any)[source]# Given a tree, return the TreeDef for its type (through the type_registry).