Package flumotion :: Package twisted :: Module credentials :: Class HTTPGetArguments
[hide private]

Class HTTPGetArguments

source code

Known Subclasses:

Instance Methods [hide private]
 
__init__(self, arguments) source code
 
__providedBy__(...)
Implement the __providedBy__ attribute
 
__provides__(...)
Special descriptor for class __provides__
Class Variables [hide private]
  __implemented__ = <implementedBy flumotion.twisted.credentials...
Method Details [hide private]

__providedBy__(...)

 

Implement the __providedBy__ attribute

The __providedBy__ attribute computes the interfaces peovided by an object.

__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']

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.twisted.credentials.HTTPGetArguments>