Skip to content

(preliminary to SQLAlchemy) Rename database.py #1151

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

Conversation

maximemulder
Copy link
Contributor

@maximemulder maximemulder commented Aug 20, 2024

I'd like to use the lib.database namespace for the upcoming SQLAlchemy PR proposal. Thus, I propose moving lib/database.py to lib/database_lib/__init__.py (but any other name is fine with me) to free the namespace. This is done in a separate PR for better separation and ease of review.

IMO, database_lib should be depreciated and eventually replaced by SQLAlchemy in the medium to long term. Given the size of the codebase, I do not expect this migration to be long, and can even do it myself if wanted !

@maximemulder maximemulder force-pushed the 2024-08-13_move-database-to-dataclass branch from d7ff415 to 42aca33 Compare August 20, 2024 16:58
@maximemulder
Copy link
Contributor Author

I don't know why there are whitespace changes although I did rebase on upstream/main, but it do be like that I guess 🤔.

@maximemulder
Copy link
Contributor Author

Closed since SQLAlchemy will use the lib.db namespace instead, for more backwards compatibility to ease the transition of exisiting projects.

@cmadjar cmadjar added this to the N/A milestone Sep 13, 2024
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.

3 participants