jivago.lang.registry module

class jivago.lang.registry.Annotation(decorator: Callable = <function Annotation.<lambda>>)[source]

Bases: object

exception jivago.lang.registry.MissingAnnotationParameterException[source]

Bases: Exception

class jivago.lang.registry.ParametrizedAnnotation(decorator: Callable = <function Annotation.<lambda>>)[source]

Bases: jivago.lang.registry.Annotation

class jivago.lang.registry.Registry[source]

Bases: object

INSTANCE = <jivago.lang.registry.Registry object>
content = {jivago.lang.annotations.Inject: [<jivago.lang.registration.Registration object at 0x7f65cca00590>, <jivago.lang.registration.Registration object at 0x7f65cca00c90>, <jivago.lang.registration.Registration object at 0x7f65cca031d0>]}
get_annotated_in_package(annotation: jivago.lang.registry.Annotation, package: str) → List[jivago.lang.registration.Registration][source]
is_annotated(object: object, annotation: jivago.lang.registry.Annotation)[source]
register(label: jivago.lang.registry.Annotation, clazz: type, *, arguments=None)[source]
class jivago.lang.registry.SimpleSaveDecorator(registry: jivago.lang.registry.Registry, saveTarget, arguments: dict)[source]

Bases: object