-
Notifications
You must be signed in to change notification settings - Fork 31
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 nullable
and crate_index
in ORM column definition
#481
Conversation
e4f964a
to
43d7cd9
Compare
'tags ARRAY(OBJECT), \n\t' | ||
'PRIMARY KEY (pk)\n)\n\n'), ()) | ||
|
||
def test_table_with_nullable(self): | ||
class DummyTable(self.Base): |
Check notice
Code scanning / CodeQL
Unused local variable
'PRIMARY KEY (pk)\n)\n\n'), ()) | ||
|
||
def test_with_pk_nullable(self): | ||
class DummyTable(self.Base): |
Check notice
Code scanning / CodeQL
Unused local variable
self.Base.metadata.create_all() | ||
|
||
def test_table_without_index(self): | ||
class DummyTable(self.Base): |
Check notice
Code scanning / CodeQL
Unused local variable
'PRIMARY KEY (pk)\n)\n\n'), ()) | ||
|
||
def test_table_without_index_unsupported(self): | ||
class DummyTable(self.Base): |
Check notice
Code scanning / CodeQL
Unused local variable
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.
Thank you for submitting this excellent improvement. I've added some suggestions, mostly about wording and naming things.
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.
.
60b812b
to
2cec36c
Compare
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.
👍
Co-authored-by: Andreas Motl <[email protected]>
2cec36c
to
6c1a293
Compare
Please note that the notices from CodeQL currently do not collapse, even when explicitly dismissed. For more background on this, see github/codeql-action#1411. |
Summary of the changes / Why this is an improvement
As per the title.
Checklist