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 0x7fb7a98f0950>, <jivago.lang.registration.Registration object at 0x7fb7a98f4c90>, <jivago.lang.registration.Registration object at 0x7fb7a987f4d0>, <jivago.lang.registration.Registration object at 0x7fb7a987f850>, <jivago.lang.registration.Registration object at 0x7fb7a9875990>]}
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