mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
added base class for api handling
This commit is contained in:
committed by
Yeqing Zhang
parent
560e139719
commit
73fb8fc82f
@@ -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