Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly retain types of Mapping subclasses (#2325)
* Properly retain types of Mapping subclasses * Create 2325-ofek.md * update with feedback Co-Authored-By: Eric Jolibois <eric.jolibois@toucantoco.com> * satisfy mypy? * Update fields.py Co-Authored-By: Eric Jolibois <eric.jolibois@toucantoco.com> * show uncovered line numbers * fix coverage * update * address feedback * try * update Co-Authored-By: Eric Jolibois <eric.jolibois@toucantoco.com> * rename test * address feedback Co-authored-by: Eric Jolibois <eric.jolibois@toucantoco.com> Co-authored-by: Samuel Colvin <s@muelcolvin.com>
- Loading branch information
1 parent
aa92db5
commit 4ddf4f1
Showing
5 changed files
with
115 additions
and
11 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 @@ | ||
Prevent `Mapping` subclasses from always being coerced to `dict` |
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
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