-
Sorry for the long title! I found a small issue when using `disallow-untyped-decorators` and while having a decorated function inside another function, here's the reproduction:
https://mypy-play.ne…
-
### Greetings
Hi, dear weird bear aficionado! First of all, thanks for this awesome library! I've just started using it and it looks great, I can't wait to write runtime-type-safe functions everywher…
-
Let's assume you have class decorator defined as follows:
```ts
const foo: ClassDecorator = (target) => {
return class FooBar extends (target as any as Constructor) {
someProperty = true;
…
-
I recently switched from Sequelize to TypeORM because I wanted proper typing and decorator support, but I'm struggling with certain queries that were easy to do in Sequelize.
```typescript
// Sequ…
-
# Feature or enhancement
Add the class `dataclasses.Dataclass` that
- supports instance and subclass checks using similar logic as `dataclasses.is_dataclass`, and
- blocks inheritance in `__init_…
-
### Python -VV
```shell
Python 3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]
```
### Pip Freeze
```shell
kanishk@anarch[~/mistral] > pip freeze
annotated-types==0.7.0
appdirs==1.4.4
asttoke…
-
Hey, I have seen recommendations to use this package. I'm thinking If there is a comparison between this/style and the vanilla style it will help me decide on whether I should adopt this project.
-
1. It's possible to pass DI deps to the node that doesn't expect those deps with such names
2. It's possible to not pass DI deps to node that does expect deps
3. It's possible to pass deps with inco…
-
Moved from https://github.com/python/mypy/issues/10122
**Bug Report**
A function that is wrapped in a decorator can not be pickled when the function (and its decorator) are compiled.
compile.…
-
### 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…