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

relational.write - SQL statements are executed individually instead of in bulk for MySQL #373 #375

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

spicy-sauce
Copy link
Member

No description provided.

@spicy-sauce spicy-sauce added bug Something isn't working block labels Sep 19, 2024
@spicy-sauce spicy-sauce self-assigned this Sep 19, 2024
@spicy-sauce spicy-sauce requested a review from zalmane September 19, 2024 14:58
Returns:
Callable[[DBAPIConnection, ConnectionPoolEntry], None]: A function that configures PyMySQL dialect settings.
"""
def configure_pymysql_dialect(dbapi_connection: DBAPIConnection, connection_record: ConnectionPoolEntry):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you need a submethod in there?

Copy link
Member Author

@spicy-sauce spicy-sauce Sep 19, 2024

Choose a reason for hiding this comment

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

Just because it is tied to the create_pymysql_dialect_configuration function, which requires the engine to be passed as an argument.

@spicy-sauce spicy-sauce merged commit abd38bd into main Sep 19, 2024
5 checks passed
@spicy-sauce spicy-sauce deleted the pymysql-dialect branch September 19, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants