Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow casting fields from strings to dicts #47

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

gcandal
Copy link
Contributor

@gcandal gcandal commented Jun 29, 2021

Useful when dealing with non-JSON endpoints, such as file upload.

Based on

dict : lambda v: json.loads(v) if isinstance(v, legacy.UNICODE) else dict(v),

@gcandal
Copy link
Contributor Author

gcandal commented Jun 29, 2021

@joamag

@coveralls

This comment has been minimized.

@joamag
Copy link
Contributor

joamag commented Jul 7, 2021

This seems to make sense but requires back-port to flask quorum.
Taking care of that on my side.

@joamag joamag merged commit 9f522d6 into hivesolutions:master Jul 7, 2021
@joamag
Copy link
Contributor

joamag commented Jul 7, 2021

@gcandal released in version 1.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants