Сделать проверку корректности заливки
Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
types-*
пакетов из typeshed
.Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
GitHub
Support `[dependency-groups]` · Issue #190 · typeshed-internal/stub_uploader
Right now this check fails when a dependency is in a optional group: def verify_external_req_stubs_require_its_runtime( req: Requirement, upstream_distribution: str | None ) -> None: ""...
🍌1🎅1
https://github.com/wemake-services/django-modern-rest/issues/47
Супер простая задача: добавить
#django_modern_rest #typing
Супер простая задача: добавить
TypedDict
для типизации kwarg'ов.#django_modern_rest #typing
GitHub
Implement `TypedDict` types for `model_dump_kwargs` and `from_python_kwargs` · Issue #47 · wemake-services/django-modern-rest
Right now we just type them as dict, which is not ideal. django-modern-rest/django_modern_rest/plugins/pydantic.py Lines 53 to 61 in 5cf21e6 # TODO: use `TypedDict` model_dump_kwargs: ClassVar[dict...
💘3