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
task.py
Go to the documentation of this file.
1
#!/usr/bin/python
2
3
4
"""@package docstring
5
@file task.py
6
@author Oleksii <developers.hce@gmail.com>
7
@link http://hierarchical-cluster-engine.com/
8
@copyright Copyright © 2013 IOIX Ukraine
9
@license http://hierarchical-cluster-engine.com/license/
10
@package HCE project node API
11
@since 0.1
12
"""
13
14
15
#from dbi import db
16
17
18
class
Task
(object):
19
20
Tries = 10
21
def
__init__
(self, id=None, command=None, input=None, files=None, session=None, strategy=None, Tries=None, CDate=None ):
22
self.
id
= id
23
self.
command
= command
24
self.
input
= input
25
self.
files
= files
26
self.
session
= session
27
self.
strategy
= strategy
28
# for update testing fake value
29
self.
Tries
= Tries
30
self.
CDate
= CDate
31
32
33
def
__repr__
(self):
34
return
"<User(id='%s', data='%s')>"
% (self.
id
, self.data)
task.Task.command
command
Definition:
task.py:23
task.Task.id
id
Definition:
task.py:22
task.Task.__init__
def __init__(self, id=None, command=None, input=None, files=None, session=None, strategy=None, Tries=None, CDate=None)
Definition:
task.py:21
task.Task.strategy
strategy
Definition:
task.py:27
task.Task.CDate
CDate
Definition:
task.py:30
task.Task.input
input
Definition:
task.py:24
task.Task.session
session
Definition:
task.py:26
task.Task.files
files
Definition:
task.py:25
task.Task
Definition:
task.py:18
task.Task.__repr__
def __repr__(self)
Definition:
task.py:33
task.Task.Tries
int Tries
Definition:
task.py:20
sources
hce
ftests
dbi
task.py
Generated on Fri Nov 24 2017 18:53:59 for HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings. by
1.8.13