/griffe-generics

A Griffe extension that resolves generic type parameters as bound types in subclasses

Primary LanguagePythonMIT LicenseMIT

griffe-generics

Build status

A Griffe extension that resolves generic type parameters as bound types in subclasses

Example

Without extension: Without Extension

With extension: With Extension

Install

To install griffe-generics, simply use pip:

$ pip install griffe-generics

Usage

plugins:
  - mkdocstrings:
      handlers:
        python:
          options:
            extensions:
              - griffe_generics