A Griffe extension that resolves generic type parameters as bound types in subclasses
Project description
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:
$ pip install griffe-generics
Usage
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_generics
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file griffe_generics-1.0.12.tar.gz
.
File metadata
- Download URL: griffe_generics-1.0.12.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e39489a443f1b58aa9fd1a394168725692e92a5d695c400644e58ff41e7885c |
|
MD5 | 8b48bc2944569cb1c0369e4535b76f9b |
|
BLAKE2b-256 | 5e7a0a6a4a222ad549dfe55d194aa905b462b7e3de0b7da842dfd01a572967ef |
File details
Details for the file griffe_generics-1.0.12-py3-none-any.whl
.
File metadata
- Download URL: griffe_generics-1.0.12-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f3b502e08c1a6563c77e915c739cb4a7e50f3f44e498f5ce39b8f003fe837c |
|
MD5 | 2eaa5315cba63c74aadb103c85f8f0ed |
|
BLAKE2b-256 | fa6784da25b6d25dba1b08feb7030288aeba09d8fb39483cf1a7bba33e98f940 |