datazen.classes.target_resolver
index
/home/vkottler/src/vkottler/workspace/datazen/datazen/classes/target_resolver.py

datazen - Orchestrates the "parameterized target" capability.

 
Modules
       
logging

 
Classes
       
builtins.object
TargetResolver

 
class TargetResolver(builtins.object)
    TargetResolver(logger: logging.Logger = <Logger datazen.classes.target_resolver (WARNING)>) -> None
 
A class for managing resolution of literal and templated target
definitions.
 
  Methods defined here:
__init__(self, logger: logging.Logger = <Logger datazen.classes.target_resolver (WARNING)>) -> None
Constuct a new target resolver.
clear(self) -> None
Re-initialize target dataset, in case a new manifest is reloaded.
get_target(self, group: str, name: str) -> Optional[Dict[str, Any]]
Attempt to get a literal target from what has been loaded so far.
register_group(self, name: str, targets: List[Dict[str, Any]]) -> None
From a name of a group that contains targets, initialize it by also
providing its target datset.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Data
        Dict = typing.Dict
GenericStrDict = typing.Dict[str, typing.Any]
List = typing.List
Optional = typing.Optional
Substitutions = typing.Dict[str, typing.Union[str, int]]
Tuple = typing.Tuple