If you’re going to post a code example, at least check that it works. Here’s your example, with no type hints, giving me errors both from the LSP, and when trying to run via mypy: https://imgur.com/a/Hq5Y5Gt.
If you’re going to post a code example, at least check that it works. Here’s your example, with no type hints, giving me errors both from the LSP, and when trying to run via mypy: https://imgur.com/a/Hq5Y5Gt.
You can use mypy and/or Pydantic.
This is the second time this month some overzealous moron decided to add these because they can be used for burner accounts, as if other services cannot. People like this are why we as a species haven’t advanced more.
You haven’t read the article or the summary from the comments, have you?