Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PEP487
__set_name__
protocol in BaseModel (#4407)
* fix: fix __set_name__ protocol in BaseModel * undo changes * add comment * fix lint * fix lint * add change file * remove mock, move imports
- Loading branch information
1 parent
abcf81e
commit d501c39
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix PEP487 protocol in `BaseModel`: call `__set_name__` on namespace values that implement the method. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters