mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
added models
This commit is contained in:
9
model/task.py
Normal file
9
model/task.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from mongoengine import *
|
||||
|
||||
from model.base import BaseModel
|
||||
|
||||
|
||||
class Task(BaseModel):
|
||||
node_id = ObjectIdField()
|
||||
spider_id = ObjectIdField()
|
||||
file_path = StringField()
|
||||
Reference in New Issue
Block a user