pycasbin / async-sqlalchemy-adapter

Async SQLAlchemy Adapter for PyCasbin
https://github.com/casbin/pycasbin
Apache License 2.0
7 stars 5 forks source link

fix: Use sqlalchemy.orm.declarative_base #7

Closed amazingguni closed 1 year ago

amazingguni commented 1 year ago

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

casbin-bot commented 1 year ago

@Nekotoxin please review

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: