parent_lookup.lookup

Core module. Contains the decorators and functions providing the parent lookup functionality.

Module Attributes

lookup_registry

Singleton instance of the lookup registry

Functions

is_child_lookup(func)

Decorator to mark a function as a child lookup function.

Classes

LookupRegistry(*args, **kwargs)

Registry for management and lookup of parent-child relations at runtime.

parent_lookup.lookup.is_child_lookup(func: TFunc) TFunc

Decorator to mark a function as a child lookup function.

parent_lookup.lookup.lookup_registry: LookupRegistry = <parent_lookup.lookup.LookupRegistry object>

Singleton instance of the lookup registry