-
Notifications
You must be signed in to change notification settings - Fork 80
Transfer update delete templates #2274
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
Merged
antgonza
merged 26 commits into
qiita-spots:remove-moi
from
josenavas:trasnfer-update-delete-templates
Sep 8, 2017
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9481d42
Moving update_sample_template
josenavas 998197e
Transfer update_sample_template
josenavas 656ac7f
Porting update prep template
josenavas 37a5a74
Moving delete sample or column
josenavas 4a6b3b2
Removing tests
josenavas 0aaa53f
Solving merge conflicts
josenavas 6f52ebd
Removing dispatchable and its tests
josenavas c2e7d8b
Updating interface to use the new functionality'
josenavas c450079
Adapting the prep template GUI
josenavas 22ce457
Submitting jobs
josenavas d2259b0
Fixing tests
josenavas 6ec24d9
Removing qiita_ware/context.py
josenavas e9901ed
flake8ing
josenavas 2019e71
Fixing _system_call
josenavas 830312d
Safeguarding the call to rollback
josenavas 3f4cdcd
Unmasking more errors
josenavas d9d51e6
Forcing different connections on different processes
josenavas 4339eda
Moving job completion to internal plugin structure
josenavas fa391d0
Removing unused code
josenavas dd74e11
Forcing the creation of a new transaction on the jobs
josenavas 407fd8b
Fixing tests
josenavas 966eb0f
forcing the commit
josenavas 1a4026c
Fixing all tests
josenavas dc960a3
Addressing @antgonza's comments
josenavas 63519f6
Addressing @antgonza's comment
josenavas eb2d314
Addressing @ElDeveloper's comments
josenavas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This block seems rather confusing, you
try
to find the error code, and check if that raises aKeyError
, if it doesn't you show the error and the message, and if it does you just show the message. Are pgcodes not guaranteed to be in the errorcodes?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 found one case in which pgcodes was not in the error codes. It was mainly due to a bad usage of psycopg2 and the multiprocessing module. That is now fixed, but without this try/except I was unable to see the error message. Thus, in general they will be found, but just in case that in the future we find another issue, this will allow us to debug.
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.
Wow, that's very strange!