remove duplicated function get_session

Change-Id: I3ab727ab468c13d9ef15fb93c61df9330162961e
This commit is contained in:
jiasirui 2022-12-21 23:52:45 +08:00
parent 58d41110f5
commit 64b8dbc9ca

View File

@ -15,15 +15,10 @@
"""Implementation of SQLAlchemy backend."""
import time
from venus.db.sqlalchemy.api import _create_facade_lazily
from venus.db.sqlalchemy.api import get_session
from venus.modules.custom_config.backends import models
def get_session(**kwargs):
facade = _create_facade_lazily()
return facade.get_session(**kwargs)
class CustomConfigSql(object):
def get_config(self, id):