implement select command
This commit is contained in:
parent
ab4a427586
commit
9e2345eeb9
5 changed files with 45 additions and 26 deletions
|
|
@ -19,7 +19,12 @@
|
|||
from weboob.tools.misc import iter_fields
|
||||
|
||||
|
||||
__all__ = ['IBaseCap', 'NotAvailable', 'NotLoaded', 'CapBaseObject']
|
||||
__all__ = ['FieldNotFound', 'IBaseCap', 'NotAvailable', 'NotLoaded', 'CapBaseObject']
|
||||
|
||||
|
||||
class FieldNotFound(Exception):
|
||||
def __init__(self, obj, field):
|
||||
Exception.__init__(self, u'Field "%s" not found for object %s' % (field, obj))
|
||||
|
||||
|
||||
class NotAvailableMeta(type):
|
||||
|
|
@ -55,6 +60,7 @@ class NotLoaded(object):
|
|||
class IBaseCap(object):
|
||||
pass
|
||||
|
||||
|
||||
class CapBaseObject(object):
|
||||
FIELDS = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue