State management for discovery.
High-level usage pattern is to call .getNextService(discover) in order
to find the next available service for this user for this session. Once a
request completes, call .finish() to clean up the session state.
|
__init__(self,
session,
url,
session_key_suffix=None)
Initialize a discovery object |
source code
|
|
|
|
|
cleanup(self,
force=False)
Clean up Yadis-related services in the session and return the
most-recently-attempted service from the manager, if one exists. |
source code
|
|
str
|
|
|
getManager(self,
force=False)
Extract the YadisServiceManager for this object's URL and suffix from
the session. |
source code
|
|
|
createManager(self,
services,
yadis_url=None)
Create a new YadisService Manager for this starting URL and suffix,
and store it in the session. |
source code
|
|
|
destroyManager(self,
force=False)
Delete any YadisServiceManager with this starting URL and suffix from
the session. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|