OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, Callable[[], Iterator[IndexCandidateInfo]] get_infos, Optional[Candidate] installed, bool prefers_installed, Set[int] incompatible_ids) |
def | __getitem__ (self, index) |
def | __iter__ (self) |
def | __len__ (self) |
def | __bool__ (self) |
Static Public Attributes | |
maxsize | |
A lazy sequence to provide candidates to the resolver. The intended usage is to return this from `find_matches()` so the resolver can iterate through the sequence multiple times, but only access the index page when remote packages are actually needed. This improve performances when suitable candidates are already installed on disk.
def __init__ | ( | self, | |
Callable[[], Iterator[IndexCandidateInfo]] | get_infos, | ||
Optional[Candidate] | installed, | ||
bool | prefers_installed, | ||
Set[int] | incompatible_ids | ||
) |
def __bool__ | ( | self | ) |
def __getitem__ | ( | self, | |
index | |||
) |
def __iter__ | ( | self | ) |
def __len__ | ( | self | ) |
|
static |