News for hackers. Stuff that matters.
Re:Pyrefly: A new type checker and IDE experience for Python by adsharma on Saturday May 17, 2025 @12:18PM (#44015311)
The problem is not with the type checkers.

https://code.djangoproject.com/ticket/32759

Similar (but lesser) problems exist with pydantic and sqlmodel. They're both fine projects except for:

https://www.reddit.com/r/Python/comments/1i5atpy/fquery_meet...

This is a long winded way of saying type checkers will deal with:

  @sqlmodel
  @pydantic
  @dataclass
  class MyModel:
    name: str

a lot better. Move what doesn't fit here to dataclass metadata.

There are no comments on this comment yet.