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

Public Member Functions

def __init__ (self, name)
 
def __str__ (self)
 
def __repr__ (self)
 
def project_name (self)
 
def name (self)
 
def format_for_error (self)
 
def get_candidate_lookup (self)
 
def is_satisfied_by (self, candidate)
 

Detailed Description

A requirement that cannot be satisfied.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ __str__()

def __str__ (   self)

◆ format_for_error()

def format_for_error (   self)

Reimplemented from Requirement.

◆ get_candidate_lookup()

def get_candidate_lookup (   self)

Reimplemented from Requirement.

◆ is_satisfied_by()

def is_satisfied_by (   self,
  candidate 
)

Reimplemented from Requirement.

◆ name()

def name (   self)
The name identifying this requirement in the resolver.

This is different from ``project_name`` if this requirement contains
extras, where ``project_name`` would not contain the ``[...]`` part.

Reimplemented from Requirement.

◆ project_name()

def project_name (   self)
The "project name" of a requirement.

This is different from ``name`` if this requirement contains extras,
in which case ``name`` would contain the ``[...]`` part, while this
refers to the name of the project.

Reimplemented from Requirement.


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