We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to have to_json method or to_dict or json serializer in prices. Now I use:
to_json
to_dict
price = {name: str(value) for name, value in obj._asdict().items()} del price['history']
but this doesn't look good.
The text was updated successfully, but these errors were encountered:
I'd much rather finish implementing my idea that turns a Price into two Amounts.
Price
Amounts
Sorry, something went wrong.
+1 could serialize price during checkout process for instance and use it.
No branches or pull requests
It would be nice to have
to_json
method orto_dict
or json serializer in prices.Now I use:
but this doesn't look good.
The text was updated successfully, but these errors were encountered: