OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, provider, reporter) |
def | resolve (self, requirements, **kwargs) |
Data Fields | |
provider | |
reporter | |
Static Public Attributes | |
base_exception | |
The thing that performs the actual resolution work.
def __init__ | ( | self, | |
provider, | |||
reporter | |||
) |
def resolve | ( | self, | |
requirements, | |||
** | kwargs | ||
) |
Take a collection of constraints, spit out the resolution result. This returns a representation of the final resolution state, with one guarenteed attribute ``mapping`` that contains resolved candidates as values. The keys are their respective identifiers. :param requirements: A collection of constraints. :param kwargs: Additional keyword arguments that subclasses may accept. :raises: ``self.base_exception`` or its subclass.
|
static |
provider |
reporter |