OpenQuizz
Une application de gestion des contenus pédagogiques
AbstractResolver Class Reference
Inheritance diagram for AbstractResolver:
Collaboration diagram for AbstractResolver:

Public Member Functions

def __init__ (self, provider, reporter)
 
def resolve (self, requirements, **kwargs)
 

Data Fields

 provider
 
 reporter
 

Static Public Attributes

 base_exception
 

Detailed Description

The thing that performs the actual resolution work.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  provider,
  reporter 
)

Member Function Documentation

◆ resolve()

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.

Field Documentation

◆ base_exception

base_exception
static

◆ provider

provider

◆ reporter

reporter

The documentation for this class was generated from the following file: