-
```py
from typing import cast, TypeVar, Any
T = TypeVar("T")
def get_value(type_: type[T]) -> T:
...
foo = get_value(list) # no error
bar: list # correct error (Missing type parameters…
-
### Bug description
Writing a custom `@property`-like descriptor causes pylint to issue various false postives. Example code:
```python
"Demonstrate class property problems"
from typing imp…
-
Hey,
We are using custom pydantic dataclass that wrapped original pydantic dataclass. It contains some helper serializing function etc. as extra. And generally behaving as pydantic dataclass (same …
-
## Feature request
As title.
Here's an example:
```python
import numba
import numpy as np
from numba import njit, vectorize
from numba.extending import overload
@vectorize(["float64(float64…
-
We're comparing different schema validation libraries and one of my strongest concerns is the possibility to lie with `class-validator`. Here is an obviously stupid example, but it shows how we can ha…
-
### Are you submitting a **bug report** or a **feature request**?
bug report/feature request/feature missing that shouldn't be missing?
### What is the current behavior?
TypeScript ty…
-
There are existing classes that extend things in an abstract way, like ABCs, and things that are `Generic` in theory but not in reality, for example all the `collections` (the collection classes are n…
-
Currently the checker is built around definitions from this file
https://github.com/kaleidawave/ezno/blob/main/checker/definitions/overrides.d.ts
To support more of the runtime (as highlighted i…
-
As of Cython 3.0+, it is possible to write most of the [Cython code as pure Python](https://cython.readthedocs.io/en/latest/src/tutorial/pure.html), leveraging decorators and type annotations to conve…
-
我在使用贵平台时出现了pydantic的问题
具体报错如下:
`Traceback (most recent call last):
File "/home/aistudio/deploy/llm_agent/api/common_tools/ocr_tools.py", line 26, in
class CustomOCRInput(ToolParameterView…