-
Hello,
Im trying to implement an in memory cache which looks at the following function. The goal is to have a cache for the same types of fromdate and todate queries that are called with the functi…
-
After conversion I have issue on speed:
```
PyTorch Inference Time: 0.7236480712890625
558606 function calls (471806 primitive calls) in 0.723 seconds
Ordered by: internal time
…
-
**Bug Report**
The provided test defines a function with the same type signature in two ways, directly and through import.
`mypy` objects that functions are incompatible.
**To Reproduce**
…
jolaf updated
2 weeks ago
-
Right now, if you are typing in a normal draft-js editor, without any decorators, and your editor is set up to scroll instead of auto-expand, as you type past the end of the visible space in the edito…
-
### Proposed Changes
This one should be relatively easy to implement since status has its own discreet field class (`StatusField`). Similar to `custom_fields` and `relationships`, we should be ab…
-
### i am developing an chat editor using draft-js, but it still have some unexpected bugs that i can not deal with
draft-js: v0.11.3
Chromium: 78.0.3904.113
demo online to show these problems…
-
Let's officially support `typer`, an increasingly popular annotations-centric CLI framework. Sadly, `typer` violates PEP standards in a few obvious ways. But... *who really cares!?* `typer` is nifty. …
-
Consider the following example
```python
from typing import TypeVar, Callable
T = TypeVar('T')
U = TypeVar('U')
def decorator(victim: Callable[..., U]) -> Callable[..., U]:
return vi…
-
Mypy 1.11 changed some internal API and now `TypeVars` need a `TypeVarId` not just an `int`.
See https://github.com/python/mypy/issues/17671
```
lib/python3.10/site-packages/trio-stubs/__init__.pyi…
-
The Callable should be able to be tightened up on line 43.
So, that can probably become `Callable[[_TSelf[_T]], _T]`.
However, looking at that, it's defined the _cache as `_cache: Dict[str, _T]`. …