Remove unnecessary type conversions#7526
Remove unnecessary type conversions#7526lovelydinosaur merged 1 commit intoencode:masterfrom franciscouzo:remove-unnecessary-conversions
Conversation
|
These look neater, yup. Thank you! |
|
@tomchristie @franciscouzo but now, it is becoming:
Due to which validations are failing. |
|
@jgrewal1991 Can you open a new issue with this please? Ideally if you could provide a test case that demonstrates the regression that would help. Thanks. |
Since 3.5, it's possible to merge dictionaries with the
**syntax.When Python 3.9 is the minimum supported version (2024), we'll be able to do
validated_data = self.validated_data | kwargs.