Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonghwanhyeon/griffe-generics

A Griffe extension that resolves generic type parameters as bound types in subclasses
https://github.com/jonghwanhyeon/griffe-generics

generics griffe griffe-extension

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# griffe-generics
![Build status](https://github.com/jonghwanhyeon/griffe-generics/actions/workflows/publish.yml/badge.svg)

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

## Example
Without extension:
![Without Extension](https://github.com/jonghwanhyeon/griffe-generics/raw/main/assets/without-extension.png)

With extension:
![With Extension](https://github.com/jonghwanhyeon/griffe-generics/raw/main/assets/with-extension.png)

## Install
To install **griffe-generics**, simply use pip:

```console
$ pip install griffe-generics
```

## Usage
```yaml
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_generics
```