Skip to main content

Typing stubs for drf-yasg library (PEP 484 stubs for Mypy and PyCharm)

Project description

mypy logo

Typing stubs for drf-yasg library

PyPI version Tests status

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.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


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.1.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

drf_yasg_stubs-0.1.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file drf-yasg-stubs-0.1.1.tar.gz.

File metadata

  • Download URL: drf-yasg-stubs-0.1.1.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

Hashes for drf-yasg-stubs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9bf5b37119daa4faf0156b18d39b447f7359562d7684c9f87914dd2f29ede57c
MD5 5b425e4b76b4fc38a83e12cfb72f70fd
BLAKE2b-256 89b99f45a7ad1addd3ab92cdc56e828f651580a81730437528a4864a73b29f5b

See more details on using hashes here.

File details

Details for the file drf_yasg_stubs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: drf_yasg_stubs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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

Hashes for drf_yasg_stubs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de5848e98938676c7c3bea22262bcee6cd97a85ea9a8c4776f5c9ad8e9868463
MD5 b7aa3f79453617555d6b35f38643816d
BLAKE2b-256 27301767abc6fccef1f633359039e1712d907e283e43e279e9f18e6047710545

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page