-
Hello,
I'm not sure how to explain this properly but I'll do my best. Imagine a project with the following layout:
```
test
├── __init__.py
├── py.typed
├── test.py
└── test_functions.py
`…
-
It is common to have `Union` traits of the form `Union(None, )`. As a convenience to developers, and following a similar convention in Python's `typing` module, we should consider having `Optional()`…
-
**Bug Report**
A class inheriting a class with kw_only=True and using a dataclass_transform doesn't recognize kw_only being set, even though in runtime it does not yield an error. Originall…
-
### What happened?
Whenever i'm looking at any report in Matomo,
and use the "Compare To" feature in the calendar,
and set "Compare To" to "Custom",
then I have to figure out I have to click o…
-
I use the sanic framework and tortoise-orm==0.19.1. It uses the asyncmy package by default. As a result, when the client cancels the request, the connection is disordered. The current request sql is t…
-
in Python, the mouse moves and inputs like a human, making the website unable to detect it,how can I do it, can you help me ,thanks?
-
```python
from typing import Any, Optional
def foo() -> Optional[int]:
return 42
raz: Any
def bar() -> int:
x = foo()
if isinstance(x, int):
reveal_type(x)
x…
-
Version 1.4.0 of DRF-stubs and Following along with the DRF tutorial I've got the following pattern (mypy output inline in comments):
```python
urlpatterns = [
path("tree/", views.NodeList.as…
-
## 🐛 Bug report
Prompted by the super-quick fix of #507 (thanks!) I'm doing some more testing of jsonargparse with nested optional dataclasses, and found out:
Cannot configure fields of optional…
-
**Bug Report**
mypy reports a `arg-type` error `Argument 2 to "send_command" has incompatible type "**Dict[str, object]"; expected "Optional[float]" [arg-type]` for a valid function invocation.
*…
jrast updated
10 months ago