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

use dynaminc imports to not require unnecessary deps #22

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Conversation

ronenlu
Copy link
Member

@ronenlu ronenlu commented Jun 6, 2024

No description provided.

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def has_native_uuid_field(self):
Copy link
Member

Choose a reason for hiding this comment

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

This is besically checking if the mysql driver is 8 or lower, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is true, but In order to determine the mysql version I need to call the DB (what I cannot do). so I mock this method

Copy link
Member

Choose a reason for hiding this comment

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

We should think about maybe adding the target version to the query string / arguments in addition to the dialect

Copy link
Member Author

Choose a reason for hiding this comment

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

Thats good point, but lets discuss is in seperate PR

@ronenlu ronenlu requested a review from masseelch June 13, 2024 06:39
@ronenlu ronenlu merged commit 6ae72b6 into master Jun 14, 2024
5 checks passed
@ronenlu ronenlu deleted the deps branch June 14, 2024 07:17
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