Skip to content

griffe_runtime_objects ¤

griffe-runtime-objects package.

Make runtime objects available through extra.

Modules:

  • debug

    Debugging utilities.

Classes:

RuntimeObjectsExtension ¤

Bases: Extension

Store runtime objects in Griffe objects' extra attribute.

Methods:

  • on_instance

    Get runtime object corresponding to Griffe object, store it in extra namespace.

on_instance ¤

on_instance(
    *, node: AST | ObjectNode, obj: Object, **kwargs: Any
) -> None

Get runtime object corresponding to Griffe object, store it in extra namespace.