-
Notifications
You must be signed in to change notification settings - Fork 416
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
Turn global_state into interfaces #428
Conversation
dtale/views.py
Outdated
if data_id != None: | ||
data_id = int(data_id) |
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.
data_id = data_id if data_id is None else int(data_id)
if data_id != None: | |
data_id = int(data_id) | |
data_id = data_id if data_id is None else int(data_id) |
Co-authored-by: Andrew Schonfeld <[email protected]>
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.
Just fix that one test and squash your commits, great work!
Oops looks like there are still merge conflicts too.
The main purpose of this humongous PR is to consolidate properties of data instance distributed in global variables into properties of newly created DtaleInstance and DefaultStore class. This allows easy expansion of data instance properties and easy implementation of custom store classes. It would also allow multiple store instances to be created without too much modification. I managed to fix as many tests as possible but there are still a few keep getting error.