remove duplicated function get_session
Change-Id: I3ab727ab468c13d9ef15fb93c61df9330162961e
This commit is contained in:
parent
58d41110f5
commit
64b8dbc9ca
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user