-
Notifications
You must be signed in to change notification settings - Fork 67
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
[SYNPY-1356] Logic around disassociating Activity from File Entity #1098
[SYNPY-1356] Logic around disassociating Activity from File Entity #1098
Conversation
Hey @brucehoff I could use your feedback on these changes. Some TLDR on the history of these changes: During updates of data for new Object Models I have this conditional logic in place and am expanding this to the utility
Historically in the client:
Some themed questions:
|
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 Bryan - the code looks great, but just wanted to have some discussions around some of the comments I made.
"parent": folder.id, | ||
"used": "", | ||
"executed": "", | ||
"activityName": "", |
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.
I know this is existing behavior but what would happen if an annotation was "activityName" ?
#1099) * Updating behavior to match pre-changes
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.
🔥 LGTM! Going to pre-approve, there's some comments but they are minor.
Hello @BryanFauble! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
Problem:
Solution:
Testing:
storable_container
to retrieve the activity for the loaded file). This means that behavior wise according these integration tests before/after is working the same*, with 1 small cavet around entity versioning detailed above in the Solution.