new method 'get_status'
This commit is contained in:
parent
11893f4bb0
commit
1f09368a99
1 changed files with 16 additions and 0 deletions
|
|
@ -56,10 +56,26 @@ class Optimization(object):
|
||||||
def stop(self):
|
def stop(self):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
class StatusField(object):
|
||||||
|
FIELD_TEXT = 0x001 # the value is a long text
|
||||||
|
FIELD_HTML = 0x002 # the value is HTML formated
|
||||||
|
|
||||||
|
def __init__(self, key, label, value, flags=0):
|
||||||
|
self.key = key
|
||||||
|
self.label = label
|
||||||
|
self.value = value
|
||||||
|
self.flags = flags
|
||||||
|
|
||||||
class ICapDating(ICap):
|
class ICapDating(ICap):
|
||||||
def get_profile(self, _id):
|
def get_profile(self, _id):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
def get_status(self):
|
||||||
|
"""
|
||||||
|
Get a list of fields
|
||||||
|
"""
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
OPTIM_PROFILE_WALKER = None
|
OPTIM_PROFILE_WALKER = None
|
||||||
OPTIM_VISIBILITY = None
|
OPTIM_VISIBILITY = None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue