opsv2/libs/db/torndb.py
2020-12-01 16:31:04 +08:00

8 lines
148 B
Python

#!/usr/bin/env python
#-*- coding:utf-8 -*-
# database.py
import torndb
db_session = torndb.Connection("localhost", "test", user="", password="")