Chooses a set of implementations based on a policy. Typical use:
|
|
__init__(self,
root,
handler=None,
src=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
set_root(self,
root)
Change the root interface URI. |
source code
|
|
|
|
|
|
|
|
|
generator
|
|
|
|
|
|
|
|
|
str
|
|
|
model.Implementation
|
|
|
bool
|
|
|
[(str, model.Implementation)]
|
get_uncached_implementations(self)
List all chosen implementations which aren't yet available locally. |
source code
|
|
|
|
|
|
[model.Interface]
|
|
|
|
|
|
bool
|
|
|
|
download_uncached_implementations(self)
Download all implementations chosen by the solver that are missing
from the cache. |
source code
|
|
|
tasks.Task
|
download_icon(self,
interface,
force=False)
Download an icon for this interface and add it to the icon cache. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
bool
|
help_with_testing = property(lambda self: self.solver.help_wit...
default stability policy
|
|
|
network_use = property(lambda self: self.solver.network_use, l...
one of the model.network_* values
|
|
int
|
freshness
seconds allowed since last update
|
|
handler.Handler
|
handler
handler for main-loop integration
|
|
|
root
URI of the root interface
|
|
solve.Solver
|
solver
solver used to choose a set of implementations
|
|
bool
|
src
whether we are looking for source code
|
|
set
|
stale_feeds
set of feeds which are present but haven't been checked for a long
time
|
|
|
watchers
callbacks to invoke after recalculating
|