Typing stubs for drf-yasg library (PEP 484 stubs for Mypy and PyCharm)
Project description
Typing stubs for drf-yasg library
PEP 484 type stubs for Mypy and PyCharm.
This package contains type stubs to provide more precise static types and type inference for drf-yasg, the OpenAPI/Swagger generator for Django REST Framework.
Installation
pip install drf-yasg-stubs
That's all, run Mypy and it should be able to pick up these stubs.
Changelog
0.1.2 (2020-08-19)
- Fixed get_schema_view() arguments authentication_classes, permission_classes (#6)
0.1.1 (2020-08-18)
- Fixed SchemaView method annotations (#2)
- Fixed @swagger_serializer_method decorator hints
- Improved hints for EndpointEnumerator, OpenAPISchemaGenerator
0.1.0 (2020-01-13)
- Initial release
Development
Release process: https://twine.readthedocs.io/en/stable/#using-twine
- docker build --tag=drf-yasg-stubs .
- git tag $VERSION -a -m 'Release'
- git push --tags
- docker run --rm -it drf-yasg-stubs twine upload 'dist/*'
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
drf-yasg-stubs-0.1.2.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file drf-yasg-stubs-0.1.2.tar.gz
.
File metadata
- Download URL: drf-yasg-stubs-0.1.2.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f57a004c307d2c59013a90c17e01cd3be0d17fc40b1da3d48dca74ef0afad9e |
|
MD5 | 8c54b119f741fdeb6d514a5ce0499fae |
|
BLAKE2b-256 | 58dd44a4892811673465ae92da7be5e72ccfb735284d44657729cdfef1cb2a02 |
File details
Details for the file drf_yasg_stubs-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: drf_yasg_stubs-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaa0e6e4c6872388ee70ba83ec57ff2c19159c8543a81077a698614ee0d11a8 |
|
MD5 | 214ea9c5e5d995e577e89d22468fad94 |
|
BLAKE2b-256 | 10b5c3f4d85e0d6d11a99688adb83b57e6c1c02c196e565978a40ec4a61ba362 |