mandates – Mandates Components Package¶
(see also: Submodules)
This package contains everything regarding temporary jobs (mandates).
-
class
waeup.kofa.mandates.
MandatesContainer
[source]¶ This is a container for all kind of mandates.
-
__doc__
= 'This is a container for all kind of mandates.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.mandates.container.MandatesContainer>¶
-
__module__
= 'waeup.kofa.mandates.container'¶
-
__provides__
¶ Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
For example:
>>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']
>>> [i.getName() for i in C().__provides__] ['IFoo']
-
count
¶ Count active and expired mandates.
-
-
class
waeup.kofa.mandates.
Mandate
(days=1, mandate_id=None)[source]¶ This is a mandate.
-
REDIRECT_WITH_MANDATE_ID
= False¶
-
__doc__
= 'This is a mandate.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.mandates.mandate.Mandate>¶
-
__module__
= 'waeup.kofa.mandates.mandate'¶
-
__provides__
¶ Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
For example:
>>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']
>>> [i.getName() for i in C().__provides__] ['IFoo']
-
Submodules¶
This package bundles the following modules: