HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
TasksDataTable.py
Go to the documentation of this file.
1 '''
2 Created on Mar 10, 2014
3 
4 @package: dtm
5 @author: scorp
6 @link: http://hierarchical-cluster-engine.com/
7 @copyright: Copyright © 2013-2014 IOIX Ukraine
8 @license: http://hierarchical-cluster-engine.com/license/
9 @since: 0.1
10 '''
11 import sqlalchemy
12 from sqlalchemy.ext.declarative import declarative_base
13 
14 
16 Base = declarative_base()
17 class TasksDataTable(Base): # pylint: disable-all
18  __tablename__ = "tasks_data_table"
19  __table_args__ = {'mysql_engine': 'MyISAM'}
20  id = sqlalchemy.Column(sqlalchemy.BigInteger, primary_key=True)
21  data = sqlalchemy.Column(sqlalchemy.Text, unique=False, index=False)
22 
23 
24  def __init__(self):
25  pass
26 
Base
Class describes structures of task item used in TaskDataManager module.