-
Notifications
You must be signed in to change notification settings - Fork 93
fix 151 and 374 - cascades to part tables must be from parent tables. #957
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
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.
Thanks @dimitri-yatsenko. Logic looks good. 🤝
Requesting a fix of just some minor documentation errors (for Sphinx rendering) and some 'future-proof' suggestions for the tests (use built in assert). Also, please link the issues that are fixed here so they are auto-closed on merge.
| import itertools | ||
| import hashlib | ||
| import uuid | ||
| import faker |
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.
We should set the seed here to make this test deterministic.
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.
It is already deterministic. The code generates deterministic UUIDs rather than random.
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.
@dimitri-yatsenko That is not what I meant. UUID's are generated from url which is actually generated by faker's profile method. This is the portion I meant by not being deterministic. Each time we call fake.profile(), it will yield a random result unless we seed it properly.
Co-authored-by: Raphael Guzman <38401847+guzman-raphael@users.noreply.github.com>
Co-authored-by: Raphael Guzman <38401847+guzman-raphael@users.noreply.github.com>
Co-authored-by: Raphael Guzman <38401847+guzman-raphael@users.noreply.github.com>
docstring improvements in datajoint.table. Co-authored-by: Raphael Guzman <38401847+guzman-raphael@users.noreply.github.com>
1b36ce5 to
54d4e46
Compare
|
@dimitri-yatsenko Please update this branch so I can merge. |
guzman-raphael
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.
@dimitri-yatsenko Great work! 🚀
CHANGELOG.md
Outdated
| ### 0.13.3 -- TBD | ||
| * Bugfix - Dependencies not properly loaded on populate. (#902) PR #919 | ||
| * Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939 | ||
| * Bugfix - Deletes and drops must include the master of each part. (#151 and #374) PR #957 |
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.
| * Bugfix - Deletes and drops must include the master of each part. (#151 and #374) PR #957 | |
| * Bugfix - Deletes and drops must include the master of each part. (#151, #374) PR #957 |
fix #151 (Method 1)
fix #374