Skip to content

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

@casbin-bot casbin-bot requested a review from Nekotoxin February 29, 2024 07:56
@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
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))
@github-actions
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.

4 participants