PEP-484 stubs for django-rest-framework
Project description
pep484 stubs for Django REST framework
Mypy stubs for DRF 3.9.x. Supports Python 3.6 and 3.7.
Installation
pip install djangorestframework-stubs
To make mypy aware of the plugin, you need to add
[mypy]
plugins =
mypy_drf_plugin.main
in your mypy.ini
file.
To get help
We have Gitter here: https://gitter.im/mypy-django/Lobby
If you think you have more generic typing issue, please refer to https://github.com/python/mypy and their Gitter.
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 djangorestframework-stubs-1.1.0.tar.gz
.
File metadata
- Download URL: djangorestframework-stubs-1.1.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a887daba369b4575d9750b3468530794c5257b1f6733590e37feb96d2e675522 |
|
MD5 | f7e362cff1a294df2063d8dae9a2767c |
|
BLAKE2b-256 | 45eef486dfbb2b046518e0c354b82a01f6afaf85d91e69094ddbec4ac74d29b0 |
File details
Details for the file djangorestframework_stubs-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: djangorestframework_stubs-1.1.0-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62acdb9da11489565b3ba7d57fc28877325c7aef25a60eaae2363732414e428f |
|
MD5 | 0fba78d726abf8079bd28b6dd514241b |
|
BLAKE2b-256 | a14c3622d61a45c2e9da9bbfaf35a1146c4c8de72aa9eb80ebda57f9938aa4ab |