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

refactor: Use OrderAmountInputSchema #7036

Merged

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented May 31, 2020

Fix for #6998


class OrderAmountInputSchema(Schema):
tickets = fields.Nested(TicketSchema, many=True)
discount_code = fields.Integer(load_from='discount-code')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.

@iamareebjamal iamareebjamal merged commit e743f07 into fossasia:development Jun 1, 2020
@iamareebjamal iamareebjamal deleted the order-amount-schema branch June 1, 2020 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants