-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add support for SQLAlchemy 1.4 #391
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d64ecc9
SA14/CI: Add SQLAlchemy 1.4 to the test matrix
amotl 1d9e151
SA14: Add `get_view_names` method to SQLAlchemy dialect
amotl 62fd182
SA14: Add SQLAlchemy 1.4 compatibility for CrateCompiler
amotl bcf9fff
SA14: Adjust CrateDB dialect compiler patch to SqlAlchemy 1.4.36
amotl 9369158
SA14: Adjust `rewrite_update` parameter mangling
amotl 867a4c0
SA14/Tests: Fix call signature to match `reflection.Inspector.get_tab…
amotl 9ecb35d
SA14/Tests: Do not pass `params=None` to `crate_before_execute`
amotl 071beac
SA14/Tests: Declare column expressions for `_score` as `literal_column`
amotl e58a657
SA13: Suppress specific LGTM.com warning
amotl 40b697e
SA14: Add test cases for new dialect method `get_view_names`
amotl 0e5b785
SA14: Enable SQL compilation caching for CrateDialect and friends
amotl ca33c73
SA14/Tests: Remove masking the resultproxy and fix setup of fake cursors
amotl a48c093
SA14: Fix SQLAlchemy deprecation warning on `before_execute` event hdlr
amotl 40cabe3
SA14: Final adjustments to the changelog
amotl abc6a6a
SA14: Add test fixture for testing VIEWs
amotl 35aa890
Documentation: Minor edit to fix link checker
amotl 14479e5
SA14: Improve inline documentation of CrateDB dialect compiler
amotl d93dfce
SA14/CI: Update to SQLAlchemy 1.4.37
amotl aad1458
SA14/CI: Suppress alert from lgtm.com
amotl 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
queries: | ||
|
||
# Suppress some LGTM warnings. | ||
|
||
# A module is imported with the "import" and "import from" statements. | ||
# https://lgtm.com/rules/1818040193/ | ||
- exclude: py/import-and-import-from | ||
|
||
# Disable rule to compensate parameter naming in `CrateCompiler._get_crud_params`. | ||
# Using an alternative name for the first parameter of an instance method makes code more difficult to read. | ||
# https://lgtm.com/rules/910082/ | ||
- exclude: py/not-named-self |
This file contains 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 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.
does this work? #391 (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.
No it doesn't ;[. At least, it does not work while not being merged. I hope that the additional rule will be recognized after the merge. However, it is weird because the other rule about
py/not-named-self
apparently seems to work well.