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

LoggingTransaction.executemany should have a proper type hint #15439

Open
matrixbot opened this issue Dec 21, 2023 · 0 comments
Open

LoggingTransaction.executemany should have a proper type hint #15439

matrixbot opened this issue Dec 21, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 21, 2023

This issue has been migrated from #15439.


executemany is also presumably vulnerable to the same kind of problem?

Originally posted by @DMRobertson in matrix-org/synapse#15432 (comment)

The context here is that we committed a bug to develop that wasn't spotted by tests and wasn't spotted by linting, because the annotation for LoggingTransaction.execute wasn't strict enough. It looks like executemany has a similar problem.

@matrixbot matrixbot changed the title Dummy issue LoggingTransaction.executemany should have a proper type hint Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
MadLittleMods pushed a commit that referenced this issue Oct 31, 2024
MadLittleMods pushed a commit that referenced this issue Oct 31, 2024
MadLittleMods pushed a commit that referenced this issue Oct 31, 2024
MadLittleMods pushed a commit that referenced this issue Oct 31, 2024
MadLittleMods pushed a commit that referenced this issue Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant