8 lines
216 B
Python
8 lines
216 B
Python
from cic_eth.db.models.base import SessionBase
|
|
|
|
def health(*args, **kwargs):
|
|
session = SessionBase.create_session()
|
|
session.execute('SELECT count(*) from alembic_version')
|
|
session.close()
|
|
return True
|