Trees | Indices | Help |
|
---|
|
object --+ | Base --+ | Task
Analysis task queue.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
__tablename__ =
|
|||
id = Column(Integer(), primary_key= True)
|
|||
target = Column(Text(), nullable= False)
|
|||
category = Column(String(255), nullable= False)
|
|||
timeout = Column(Integer(), server_default= "0", nullable= False)
|
|||
priority = Column(Integer(), server_default= "1", nullable= Fa
|
|||
custom = Column(String(255), nullable= True)
|
|||
machine = Column(String(255), nullable= True)
|
|||
package = Column(String(255), nullable= True)
|
|||
tags = relationship("Tag", secondary= tasks_tags, cascade= "al
|
|||
options = Column(String(255), nullable= True)
|
|||
platform = Column(String(255), nullable= True)
|
|||
memory = Column(Boolean, nullable= False, default= False)
|
|||
enforce_timeout = Column(Boolean, nullable= False, default= Fa
|
|||
clock = Column(DateTime(timezone= False), default= datetime.no
|
|||
added_on = Column(DateTime(timezone= False), default= datetime
|
|||
started_on = Column(DateTime(timezone= False), nullable= True)
|
|||
completed_on = Column(DateTime(timezone= False), nullable= True)
|
|||
status = Column(Enum(TASK_PENDING, TASK_RUNNING, TASK_COMPLETE
|
|||
sample_id = Column(Integer, ForeignKey("samples.id"), nullable
|
|||
sample = relationship("Sample", backref= "tasks")
|
|||
guest = relationship("Guest", uselist= False, backref= "tasks"
|
|||
errors = relationship("Error", backref= "tasks", cascade= "sav
|
|||
__mapper__ = <Mapper at 0x7f86b816d8d0; Task>
|
|||
__table__ = Table('tasks', MetaData(bind=None), Column('id', I
|
|||
_sa_class_manager = <ClassManager of <class 'lib.cuckoo.core.d
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Converts object to dict.
|
Converts object to JSON.
|
A simple constructor that allows initialization from kwargs. Sets attributes on the constructed instance using the names and values in ``kwargs``. Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.
|
repr(x)
|
|
priority
|
tags
|
enforce_timeout
|
clock
|
added_on
|
status
|
sample_id
|
guest
|
errors
|
__table__
|
_sa_class_manager
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 7 13:27:47 2014 | http://epydoc.sourceforge.net |