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 1 year ago
JSON representation
A Griffe extension that resolves generic type parameters as bound types in subclasses
- Host: GitHub
- URL: https://github.com/jonghwanhyeon/griffe-generics
- Owner: jonghwanhyeon
- License: mit
- Created: 2024-07-26T18:06:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-18T07:42:54.000Z (over 1 year ago)
- Last Synced: 2025-04-10T12:43:01.014Z (about 1 year ago)
- Topics: generics, griffe, griffe-extension
- Language: Python
- Homepage:
- Size: 151 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# griffe-generics

A Griffe extension that resolves generic type parameters as bound types in subclasses
## Example
Without extension:

With extension:

## Install
To install **griffe-generics**, simply use pip:
```console
$ pip install griffe-generics
```
## Usage
```yaml
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_generics
```