Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Use sqlalchemy.orm.declarative_base #7

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

amazingguni
Copy link
Contributor

sqlalchemy.orm.ext.declarative_base is deprecated(from 1.4)
To avoid warning, i suggest to change import path to sqlalchemy.orm.declarative_base
https://docs.sqlalchemy.org/en/20/orm/mapping_api.html#sqlalchemy.orm.declarative_base

* sqlalchemy.orm.ext.declarative_base is deprecated(from 1.4)
@casbin-bot
Copy link

@Nekotoxin please review

@casbin-bot casbin-bot requested a review from Nekotoxin July 13, 2023 06:40
@CLAassistant
Copy link

CLAassistant commented Jul 13, 2023

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz merged commit a323738 into pycasbin:master Jul 13, 2023
github-actions bot pushed a commit that referenced this pull request Jul 13, 2023
## [1.1.1](v1.1.0...v1.1.1) (2023-07-13)

### Bug Fixes

* Use sqlalchemy.orm.declarative_base ([#7](#7)) ([a323738](a323738))
@github-actions
Copy link

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@amazingguni amazingguni deleted the patch-1 branch July 13, 2023 09:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants