Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
something about pyright/pydantic changed
This is now the recommended way to set default values. Doing it the previous way causes pyright to assuming you're accidentally omitting required values. Doing it this way is somehow able to tell pyright that these fields are actually optional/have defaults and do not need to be specified. See [here][0] for details. Change seems to have been introduced by [this][1]. [0]: pydantic/pydantic#3753 (comment) [1]: pydantic/pydantic#2721
- Loading branch information