Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/typeddjango/djangorestframework-stubs

PEP-484 stubs for django-rest-framework
https://github.com/typeddjango/djangorestframework-stubs

Fix "HttpResponse" has no attribute "data" on TestCases (#205)

* Update test.pyi

* Add test

* Update tests

Co-authored-by: Xavier Francisco <xavier.n....

a2f30a01875e851d2dd17a5f949032d7a7fd0621 authored over 2 years ago
Update mypy requirement from <0.960,>=0.950 to >=0.950,<0.961 (#224)

* Update mypy requirement from <0.960,>=0.950 to >=0.950,<0.961

Updates the requirements on [...

61b10355d991be4af2ba8e2457d3ccc33bbae0c7 authored over 2 years ago
Accurately hint @api_view decorator with ParamSpec (PEP 612) (#223)

* Accurately hint @api_view decorator with ParamSpec (PEP 612)

Callers of the decorated funct...

8514a98a6cda12cc7e3196dec309a4b577230046 authored over 2 years ago
bump to 1.6.0 (#222)

5f6059d1ecedad6c42b0a0f74703d5a39b02446d authored over 2 years ago
Update to mypy 0.950 (#214)

* Update to mypy 0.950

* Fix tests with mypy 0.950

b9f30c4cf420ed1b533edded3ce100655ba890f9 authored over 2 years ago
Update to django-stubs latest (#213)

* Update to django-stubs latest

* update django-stubs, fix typecheck

958788640cb5a195ef896f59ff53770fb17e66d3 authored over 2 years ago
Bump types-pytz from 2021.3.6 to 2021.3.8 (#221)

Bumps [types-pytz](https://github.com/python/typeshed) from 2021.3.6 to 2021.3.8.
- [Release no...

bd9946f3f2143779af831553d84c3b84b1b1d8b8 authored over 2 years ago
Fix broken imports and references (#220)

* Fix broken imports and references

Fix broken imports and references in coreapi.

Also cle...

0d0f581bd9fa3d39446fa359d6df76631e1db634 authored over 2 years ago
More strictly hint URL pattern members (#218)

* More strictly hint URL pattern members

In many cases `Sequence[URLPattern]` might be suffic...

7277780955493c1ac2be1c2a3cd41625bf01acf8 authored over 2 years ago
Bump pre-commit from 2.18.1 to 2.19.0 (#219)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.18.1 to 2.19.0.
- [Release ...

2bcc662fedd7da4b58ff34a4b9d0ad6421f5e0ae authored over 2 years ago
Update exceptions.pyi & add test (#216)

195e052e8eddf9d789fc1d59f1d5411b3c6b9068 authored over 2 years ago
Move `release.sh` to `scripts/`

e8cd72f004ee49c121cefd3b17bd499e225d8da1 authored over 2 years ago
Bump pytest from 7.1.1 to 7.1.2 (#210)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.2.
- [Release notes](htt...

337b07a0c5cba5dc5331760dc41f68ef3170a892 authored almost 3 years ago
[Fix] Serializer fields decorator (#209)

* Add failing test

* Fix

526bb940ac8d902ca4cc8dd00175cc37f92fa340 authored almost 3 years ago
Version 1.5.0 release

23cbc4a7b6f776af0635aabc4fa79c8c1904632c authored almost 3 years ago
Bump pre-commit from 2.17.0 to 2.18.1 (#206)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1.
- [Release ...

41e6bfdfa928c8d5d42ae10ce8d7e445081bdfe7 authored almost 3 years ago
Bump djangorestframework from 3.12.1 to 3.13.1 (#175)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.12.1 to 3.13...

08f16c5f5feda5662a4aaebc5461223964ee9659 authored almost 3 years ago
Bump pytest from 6.1.1 to 7.1.1 (#198)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.1 to 7.1.1.
- [Release notes](htt...

041e8d0a419ce2ae1c565b38a0afaf067880e24b authored almost 3 years ago
Bump actions/setup-python from 2 to 3 (#195)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release n...

4a4f8e649164f0e49068b14346d3237ccb4e6d5e authored almost 3 years ago
Bump types-pytz from 0.1.2 to 2021.3.6 (#199)

Bumps [types-pytz](https://github.com/python/typeshed) from 0.1.2 to 2021.3.6.
- [Release notes...

b9a62206b71a7f55aa47f663b356cb58b16d34f8 authored almost 3 years ago
Make method_name optional in SerializerMethodField (#181)

https://www.django-rest-framework.org/api-guide/fields/#serializermethodfield

You can leave t...

8d6ccec0b8e109c9fbcea308cabc339f9c01d438 authored almost 3 years ago
Bump gitpython from 3.1.9 to 3.1.27 (#194)

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.9 to 3.1.27.
- [R...

b206f5bc409d0ea21fa22490261fb2e6693e0f9b authored almost 3 years ago
Bump pre-commit from 2.7.1 to 2.17.0 (#183)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.7.1 to 2.17.0.
- [Release n...

75a8616aec98fac84305f9d84564406b4a744a06 authored almost 3 years ago
Bump actions/checkout from 2 to 3 (#196)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](ht...

84f56e058784edb6f5822c658224864741adeca0 authored almost 3 years ago
Bump pytest-mypy-plugins from 1.9.1 to 1.9.3 (#180)

Bumps [pytest-mypy-plugins](https://github.com/TypedDjango/pytest-mypy-plugins) from 1.9.1 to 1....

8b8220b7365afe90aab3a79cf89888937409ece8 authored almost 3 years ago
Add django-stubs v1.10.0 compatibility (#203)

* Add django-stubs v1.10.0 compatibility

* Bump django-stubs to v1.10.1

* Pin click for bl...

946c7d60aaecdc9ef307f5e1f8eb55f7083ffb16 authored almost 3 years ago
Delete misspel.yml

d5fd23d27fb3ff7b7a066c9c1ace5374cafca85b authored almost 3 years ago
Fixes CI

466b1f5f0dd2f80eea6fcebb13114118489686a7 authored about 3 years ago
Adds dependabot support

2655a8f35f1724172255b00a8b46670792472edc authored about 3 years ago
Update dev-requirements.txt

e41b53d3efa3c163c7aeba9a1568f1029b878a9e authored about 3 years ago
Update test.yml

9650ec047f7cc002303afac422d77ae6ddee1c11 authored about 3 years ago
Fix PageNumberPagination.paginate_queryset() return type (#165)

* PageNumberPagination.paginate_queryset() should return a List of the underlying QuerySet's mod...

5293c1f7e13e0b9a5c2d000652c25cfd11ed8375 authored over 3 years ago
Add permissions.OperandHolder to decorators.permission_classes signature (#162)

* Add permissions.OperandHolder to decorators.permission_classes signature

* Test decorators....

8ba53c7db451e50aec86d51baafecf9b2315c90e authored over 3 years ago
Serializer iterator returns BoundField, not str. (#161)

7f698898dd6b230b146559dc45643d7c2a2ba329 authored over 3 years ago
Adding additional root keys (#160)

* Root keys

* Update rest_framework-stubs/schemas/openapi.pyi

* Update rest_framework-stub...

e59097e38e3d66791c6d3bf886dda3a627d4d29a authored over 3 years ago
Fix __iter__ not returning iterator (#159)

735e84c51b29839408288efec202abb97f7023c9 authored over 3 years ago
Add end-of-file-fixer hook to pre-commit (#156)

fc3e1d9e9805569490d561a566b84cc0230dcaee authored over 3 years ago
Make APIView.content_negotiation_class type, not str (#155)

d3eb733bb1ee7430cab6ce70002ce1a1498b9e46 authored over 3 years ago
Adds DjangoFilterBackend option for filter_backends (#154)

* Support DjangoFilterBackend for filter_backends

* Add django-filter requirement to setup.py...

c1aa6bd34b318c6584a920e65d9f4d0cf9d483de authored over 3 years ago
fix ModelSerializer.serializer_field_mapping value type (#153)

27533ac5adb937588f402f333df6afc17f3343dd authored over 3 years ago
Make remaining fields accept default=None/initial=None (#152)

ChoiceField, MultipleChoiceField, FilePathField, FileField, ImageField,
ListField, DictField, H...

eea2474c49bf45b9c15eb1510203fcd49d838e0d authored over 3 years ago
Add missing `code` argument to `permission_denied` (#149)

6160a461ecac727f3c78ef75bc536aeed88f471b authored over 3 years ago
Add Mypy 0.900 compatibility (#151)

d0db3dc9008b69a2de974f59612475f7e72f61e9 authored over 3 years ago
Update test.yml

0404ef54a415fcbf08a1652fee61395306ea6ec4 authored over 3 years ago
Make APIView.versioning_class type, not str (#146)

fce8fadad10dd844c09db56068b6341597185db7 authored over 3 years ago
Small improvements to rest internals (#142)

* The dispatch cycle first receives a django.http.request.HttpRequest, which gets transformed in...

f5c28301472f92fe0abe120b221f1c8442a106a5 authored over 3 years ago
Fix tests now that they are operational again (#144)

* The dispatch cycle first receives a django.http.request.HttpRequest, which gets transformed in...

ba54b54a7fa4cbe11eae0575ff7b9601058657ef authored over 3 years ago
Migrate to GitHub actions (#143)

* The dispatch cycle first receives a django.http.request.HttpRequest, which gets transformed in...

18ccc5548adf3a73f08716930d06e3821f301746 authored over 3 years ago
fix: APIView.dispatch expects a HttpRequest which gets transformed into a Request by calling initialize_request (#141)

* The dispatch cycle first receives a django.http.request.HttpRequest, which gets transformed in...

790f3917843169deb2d6c26ab751d32bd4ce67e9 authored almost 4 years ago
fix: use Type annotations for ModelSerializer and HyperlinkedModelSerializer `serializer_XXX` attributes (#140)

* fix: use Type annotations for ModelSerializer.serializer_XXX attributes

* fix: add addition...

f61d1c6d11482916f527503aff46f54724c1feee authored almost 4 years ago
Make MultipleChoiceField initial and default args Set (#139)

92e386dcd88fa69c2aec579e1c495a55796cd5a0 authored almost 4 years ago
Use BaseSchemaGenerator as a generator_class in get_schema_view (#137)

* Add openapi.SchemaGenerator as a generator_class option

* Update __init__.pyi

Co-authore...

50c3e3902a9835a882adc7532a0f74cb9651297e authored almost 4 years ago
Fix type for metadata_class (#135)

f3838d7653e3b10b33cdfe738d61b377f2189d80 authored almost 4 years ago
Version 1.4.0 release

f74916e46ed86f221492becded4b83bceb0ff1a0 authored almost 4 years ago
Make some mixin methods generic (#131)

0b2a417c3e544d64396c5c89ecf9c55655da02dc authored almost 4 years ago
Update mypy to 0.800 and fix compatibility (#130)

1761be9966e914fc20ad774f54afc1d2854e70ab authored almost 4 years ago
Fixes for ObtainAuthToken (#128)

5511807cab60d26d6e62a796cc61472fd5e162f0 authored almost 4 years ago
Fix model Meta type (#127)

* Fix model Meta type

* pin mypy to 0.790

* Fix Meta model tests

* Update dev-requireme...

57e67a2c9ebeed8c339a99560a1567a57234432f authored almost 4 years ago
Fix status.HTTP_200_OK (#125)

* Fix status.HTTP_200_OK

* pin mypy to 0.790

* Change mypy version specifier from requirem...

83f421d9079da9e91bad7001aa679119d60af7ba authored almost 4 years ago
simplify possible values for to_internal_value of boolean fields (#122)

* simplify possible values for to_internal_value of boolean fields

* could be int

2ef751ff4a4158bac01b3ee0e4ccbb40ede067cc authored about 4 years ago
ChoiceField.choices is Iterable (#121)

63faf27d9cd3a77cfacbc37a4ddb8613f0cbccbd authored about 4 years ago
Type checking for validator callbacks (#120)

* Restore checking of validator callbacks. Partial support for that
existed until commit cf9d...

9c9f73fb71d44a465b9215b76f9d6c5ceeee816a authored about 4 years ago
Restore functionality lost in version 1.3.0 (#119)

Fixes for regressions introduced in commit
cf9d492ec01f99e9a3fa89558aa1fbf1a749bc22

04cae3fe2ac4c7da7493da7df437be9d63abfa08 authored about 4 years ago
Simplify Literal declarations (#117)

A single `Literal[]` decalaration may contain multiple values, no need
to wrap it inside `Union...

0783145ace6fe60eacc20935d9b6f07fd15fd0a5 authored about 4 years ago
Change travis python to 3.9 (from 3.9-dev) (#115)

* Change travis python to 3.9 (from 3.9-dev)

* travis: remove deprecated sudo, add explicit os

d0f3854139699ebcb20132b2e73c84fa2c71344e authored about 4 years ago
Changed APIView.headers to Dict[str, str] (#114)

535f67c151b286c2a2399e1a3322ad15d56be2c2 authored about 4 years ago
Made types less specific (#101)

* Make types less specific

* Add float field test

* Improve fields test

c9196e30b6296361691221eb4a28659cc1e9cc87 authored about 4 years ago
Remove python3.9 constraint from pre-commit (#113)

7bdb318d605465df458843707d3c26abf2f5f5e0 authored about 4 years ago
Fixed GenericAPIView.get_serializer_class (#110)

It should return `Type[BaseSerializer]`.

29817a54cdbd5cf377d2578a7342fdddb5685408 authored about 4 years ago
Fix type declaration of the urlpatterns arg of format_suffix_patterns (#108)

The `urlpatterns` argument of `format_suffix_patterns` is incomplete, as
can be seen by the fac...

4adce2b3ecd2a49a329193e027c0b4d27a30128d authored about 4 years ago
Fixes .gitignore

b778e0d470a939d4b2abdeb571940b90054f4cd1 authored about 4 years ago
Version 1.3.0 release

361f4de7c4317593b66192f7666269065641008b authored about 4 years ago
resolved error (#106)

0167ffa32794308a42d22a839f5e612e479d971e authored about 4 years ago
Version 1.3.0 pre-release

05a1fdc35b5056426bd8f8e7a5519d71365405f9 authored about 4 years ago
updated throttling (#102)

df1469d3d3db9a118c77c7815304f9b6b9e75766 authored over 4 years ago
made serializer typings simpler (#99)

* made serializer typings simpler

* Update rest_framework-stubs/serializers.pyi

Co-authore...

c5dbc028662748cc0119477f766db2dc190c2246 authored over 4 years ago
Add Python3.9 support (#100)

* Add Python3.9 support

* Increase lint job Python version

* Add Python 3.9 tests job

*...

0290270b9b88097856ed7b99e6a2823be754d522 authored over 4 years ago
added changelog (#98)

* added changelog

* Update and rename changelog.txt to CHANGELOG.md

Co-authored-by: Nikita...

89539cccaf56276c14b9f6205e0f9ce71719c672 authored over 4 years ago
updated package setup (#96)

* updated package setup

* removed prettier pre-commit

* cleanup

* updated release scrip...

9779e613f7bbf197d5ba542388136afff8609e98 authored over 4 years ago
Sync, update and debug against DRF (#94)

* resolved flake8 issues

* Revert "resolved flake8 issues"

This reverts commit 1a3692c8ac8...

cf9d492ec01f99e9a3fa89558aa1fbf1a749bc22 authored over 4 years ago
updated mypy, dev requirements and contributing.md (#91)

* updated mypy, dev requirements and contributing.md

* update travis config

* attempted fi...

f3ab4eba3120ba88a6ea9f0165050ecd56637129 authored over 4 years ago
get_url implementation returns None (#90)

in case the object is not yet persisted in the database

cc8028149f50e81ac7e9b60c3fb999942b212719 authored over 4 years ago
Fix permissions, fixes #37 (#73)

* Fix permissions

* Fix imports from django-stubs==1.6.0

* Prefix type with underscore

394941d6ddac632fce68944bcf73b93ac55353af authored over 4 years ago
DynamicRoute namedtuple should not have a `mapping` attr (#89)

* DynamicRoute namedtuple should not have a `mapping` attr

See definition here https://github...

74c4dde74b89aaa8a36dade0590594f6d01e3677 authored over 4 years ago
Python 3 8 (#88)

* update travis to run against python 3.8

* update travis to run against python 3.8

dd7f7109870624c6cce5de9b55c985d543e715d3 authored over 4 years ago
added CONTRIBUTING.md (#86)

680eb85dc16a69bcb78b5d8481e16d79814f9069 authored over 4 years ago
Update type of `throttling.BaseThrottling.wait` (#85)

3103f3c7004710fa7e8972fa1ce58ab028911423 authored over 4 years ago
Allow ForcedAuthentication as request authenticator (#81)

4ba73afba5eafb5505d3efac1ca92dd20f80e8d9 authored over 4 years ago
Add Optional type to schema in APIView (#79)

10524170c22b2fdbe4aa5c83020bc528e735229d authored over 4 years ago
Adds a test for self.request, refs #74

ab9139f827ee87a91dd256fd2d9b90ab4d7c3192 authored over 4 years ago
Returns __init__.pyi, refs #74

35f449da6922ba45852ff38824febc7b9e70b579 authored over 4 years ago
Closes #74 (#75)

* Closes #74

* Fixes CI

* Fixes CI

* Adds setup.py to black

5dafd880b16dfe9f6ecc6a856d2d67d2f7e5c1a7 authored over 4 years ago
Drop Serializer's Mapping inheritance to allow Mapping methods as field names (#50)

ca2938ebbfa622fcbe4b317012d5c3307df46816 authored over 4 years ago
bump to 1.2.0

187003624bb5133e2d9cb5a76e5f76bbbd851a4a authored over 4 years ago
Add `Meta` attribute to `ModelSerializer` (#69) (#70)

`ModelSerializer` cannot be instantiated withuot the `Meta` class set
and `model` defined on it...

673dc70790c671838db7b624a78a62cf4a7b7bd2 authored almost 5 years ago
Fix typings of model meta module (#34)

3b575e62f5a097e14916309bca86721656489e7e authored almost 5 years ago
Revert "Fix field type arguments" (#68)

* Revert "Fix field type arguments (#58)"

This reverts commit 1b551ebc613351141e39b598368b2ad...

e85c9c2b624bdccb5fc3e3b3d0b590a88073420a authored almost 5 years ago
Accept sequence in paginate_queryset and return optional (#39)

object_list can be a sequence here https://github.com/django/django/blob/5becb36a79a0c31c7cc9e76...

0e1324af8122645ee2747181b98e1c5039b76a80 authored almost 5 years ago
Fix field type arguments (#58)

* Correct ImageField constructor args

use the ones inherited from FileField

* Allow None v...

1b551ebc613351141e39b598368b2ad50179e2c3 authored almost 5 years ago
Even more ViewSet instance attributes (#64)

These attributes are not documented and were reverse engineered from DRF source code.

afceb3d490b0a05dac35e0d872f24ce3390d561b authored almost 5 years ago