-
There are many third party libraries, which aim to provide functional programming tools. Examples of this are fn.py and and funcy. They both provide a `compose` function that allows you to chain toget…
-
here's an example failure I had to debug recently:
```console
$ pip install . -qq --no-deps && python -m pytest tests -k test_emits_error_for_unresolved_managers
============================= tes…
-
I would like to be able to type a Dataframe like object with MyPy, where different columns have different types and you can get each as column as an attribute on the dataframe. This is how libraries l…
-
### Description of the bug
The extension mechanism (available on any class that inherits from the `ExtendableMixin` class) is not properly adding extensions to the correct class in the generated .pyi…
-
I recently finally sat down and made [`compose-stubs`](https://pypi.org/project/compose-stubs) for my [`compose`](https://pypi.org/project/compose), so here are some notes in case it helps here with t…
-
# Bug report
## What's wrong
Returning a union type that includes a generic from a queryset method results with the generic getting resolved wrong on subsequent models.
```
- case: han…
-
This is a C wrapper, so understandably a lot of the arguments and types are unknown to Python.
This can be solved (at least for IDE users) by providing type stubs, which are basically like Python hea…
-
Problem
--
Using `Any` is not type safe, therefore Mypy provides options to disallow `Any`. However, there are many uses of `Any` from third-party and stdlib, so these options tend to result in a …
-
# Bug report
## What's wrong
Using `RawQuerySet` as type annotation is not possible.
_Without_ the generic parameter, mypy fails with `is not subscriptable` error.
_With_ the generic param…
-
**Describe the bug**
Cannot install using conda due to version conflicts.
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest …