Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix a bug where BaseModel.construct would not appropriately respect field aliases * Perhaps do not raise on construct and just apply the fix * Fix quotes and remove check on allow_population_by_field_name * Fix lint * Fix lint, remove bad arg * Black formatted * Mmmm black formatter and single quotes linting, what a world * Added change file * PR feedback Co-authored-by: Kyle Amos <kamos@seatgeek.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 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 @@ | ||
Update BaseModel.construct to work with aliased Fields |
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