-
### Description
Based on the PR https://github.com/apify/apify-sdk-python/pull/171, @janbuchar suggested the usage of some run-time checking for Python.
E.g. [typeguard](https://github.com/agron…
-
A number of elements of the public interface are untyped and thus can get flagged in user code that uses strict typing. Here are just a few. I'm flagging these as it's not clear whether this is intent…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this f…
-
```py
from typing import TypeVar, TypeAlias
T = TypeVar("T")
MaybeList = T | list[T] # error: Type variable "__main__.T" is invalid as target for type alias
MaybeList2: TypeAlias = T | list[T]…
-
This code:
```python
class A:
x: int
y: str
def __annotate__(format):
return {'a': bool}
import annotationlib
print(A.__annotations__)
print(annotationlib.get_annota…
-
### Subject of the issue
A possible amelioration would be the usage of a `as_form` decorator to mark a schema as `Form`.
See https://stackoverflow.com/questions/60127234/how-to-use-a-pydantic-mode…
-
After merging #365, I noticed a few things I wish I'd flagged, see https://github.com/inducer/pytato/pull/365#pullrequestreview-1147957251. They're not a huge deal, but I think we should address them …
-
The `dask.delayed` decorator should have type annotations.
```py
from dask import delayed
@delayed(pure=True)
def well_typed_function() -> int:
return 1
```
mypy: Untyped decorator make…
-
## Motivation
- automatic UI generation
- especially useful for queueserver (requires serialization)
- type checking (impossible to do strongly, but some benefit can be had)
## Specific challe…