ObjectRegistry

Provides a simple interface to global object registries so that pieces of code don’t need to pass things like loggers or parallelizers through every step of the code

 

__init__(self, default='raise'): 

 

temp_default(self, val): 

 

__contains__(self, item): 

 

lookup(self, key): 

 

__getitem__(self, item): 

 

register(self, key, val): 

 

__setitem__(self, key, value): 

 

keys(self): 

 

items(self): 

 

values(self): 

Feedback

Examples

Templates

Documentation