mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
added base class for api handling
This commit is contained in:
committed by
Yeqing Zhang
parent
04c5d69c9f
commit
9f84e2fad1
@@ -4,6 +4,7 @@ from pymongo import MongoClient
|
||||
from config.db import MONGO_HOST, MONGO_PORT, MONGO_DB
|
||||
from utils import is_object_id
|
||||
|
||||
|
||||
connect(db=MONGO_DB, host=MONGO_HOST, port=MONGO_PORT)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user