-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: Move order_expiry_time into settings model #6083
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
Conversation
|
@shreyanshdwivedi @uds5501 @mrsaicharan1 Please review, If I missed something? |
|
@iamareebjamal Why is travis failing ? |
Codecov Report
@@ Coverage Diff @@
## development #6083 +/- ##
==============================================
+ Coverage 66.5% 66.5% +<.01%
==============================================
Files 286 286
Lines 14272 14275 +3
==============================================
+ Hits 9491 9494 +3
Misses 4781 4781
Continue to review full report at Codecov.
|
|
@iamareebjamal review please |
app/models/setting.py
Outdated
| # Static domain | ||
| static_domain = db.Column(db.String) | ||
| # Order Expiry Time | ||
| order_expiry_time = db.Column(db.Integer, default=15) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Write # minutes in front of it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kushthedude I guess you missed to put a comment over here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shreyanshdwivedi I have specified the minutes above the field, Writing minutes in front of field definition, Would fail hound
app/models/setting.py
Outdated
|
|
||
| def __init__(self, | ||
| app_environment=Environment.PRODUCTION, | ||
| order_expiry_time=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add last
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will the following do ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not added to last
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamareebjamal added to last
|
@iamareebjamal @niranjan94 @CosmicCoder96 Please Review |
|
@mrsaicharan1 @shreyanshdwivedi @iamareebjamal Please review |
|
@iamareebjamal Please Review |
shreyanshdwivedi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kushthedude there is still one hound violation. Please check
|
@shreyanshdwivedi its due to comment I made in schema for minutes
specification
…On Sat, 29 Jun 2019 at 3:01 PM, Shreyansh Dwivedi ***@***.***> wrote:
***@***.**** commented on this pull request.
@kushthedude <https://github.com/kushthedude> there is still one hound
violation. Please check
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6083?email_source=notifications&email_token=AKQMTLT2BPKMHZWSYVTSAYDP44TVNA5CNFSM4H2CMFDKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5BLTJQ#pullrequestreview-256031142>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKQMTLQIIDOHSX7NXIIUAQ3P44TVNANCNFSM4H2CMFDA>
.
|
|
@iamareebjamal @niranjan94 Please Review |
|
@CosmicCoder96 @niranjan94 please review |
Fixes #6075
Changes proposed in this pull request:
Order_Expiry_timefrom Event to Settingsapibas according to changes .Checklist
developmentbranch.