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

feat: replace declarative_base -> DeclarativeBase for sqlalchemy 2.0 migration #65

Merged

Conversation

jimmyyyeh
Copy link
Contributor

fix warning:
MovedIn20Warning: The declarative_base() function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

@casbin-bot
Copy link

@Nekotoxin please review

@CLAassistant
Copy link

CLAassistant commented Feb 29, 2024

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz changed the title Replace declarative_base -> DeclarativeBase for sqlalchemy 2.0 migration feat: replace declarative_base -> DeclarativeBase for sqlalchemy 2.0 migration Mar 1, 2024
@hsluoyz hsluoyz closed this Mar 1, 2024
@hsluoyz hsluoyz reopened this Mar 1, 2024
@hsluoyz hsluoyz merged commit a737cd8 into pycasbin:master Mar 1, 2024
17 of 19 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 1, 2024
# [0.6.0](v0.5.3...v0.6.0) (2024-03-01)

### Features

* replace declarative_base -> DeclarativeBase for sqlalchemy 2.0 migration ([#65](#65)) ([a737cd8](a737cd8))
Copy link

github-actions bot commented Mar 1, 2024

🎉 This PR is included in version 0.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants