Skip to content

Allow customizing GriffeLoader.allow_inspection #68

@BlueGlassBlock

Description

@BlueGlassBlock

When utilizing native extensions, griffe will first use inspect to load native extension as a base, however that may produce confusing result by "leaking" APIs from native level, or produce confusing tag on methods/properties. So I think allowing toggling inspection is useful to make griffe only analyze modules statically.

For reference, see my testing repo: https://github.com/BlueGlassBlock/mkdocstrings-native-test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions