Skip to content
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

Linting(and a fix) #3

Merged
merged 12 commits into from
Oct 23, 2024
Merged

Linting(and a fix) #3

merged 12 commits into from
Oct 23, 2024

Conversation

realtyem
Copy link

Bunch of stuff, check individual commits for longer messages(sometimes)

Except for the SQLBaseStoreTestCase conditions, the rest should be straight linting fixes

…lated classes

LoggingTransaction shouldn't care that this is a specifically psycopg function as
for now it only deals with queries made of strings
The alternative I want to explore here is based on executemany or execute,
however it is much more invasive than originally planned for.
…) for the moment

See comment in commit. This will need bigger surgery
Not completely convinced, but mypy is ok with it
…d psycopg2, fixup Typing through all versions of same

This has no change of behavior, but did help expose the next commit
@@ -71,6 +71,7 @@
PsycopgEngine,
Sqlite3Engine,
)
from synapse.storage.engines._base import IsolationLevel
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all the isolation level changes somewhat unrelated to this (it just happens to work on current develop because it is an int, where this branch it is not necessarily?)

@clokep clokep merged commit f5b6429 into clokep:psycopg3 Oct 23, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants