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 hashes)
Built Distribution
Close
Hashes for drf_yasg_stubs-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaa0e6e4c6872388ee70ba83ec57ff2c19159c8543a81077a698614ee0d11a8 |
|
MD5 | 214ea9c5e5d995e577e89d22468fad94 |
|
BLAKE2b-256 | 10b5c3f4d85e0d6d11a99688adb83b57e6c1c02c196e565978a40ec4a61ba362 |