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

Public Member Functions

def project_name (self)
 
def name (self)
 
def is_satisfied_by (self, candidate)
 
def get_candidate_lookup (self)
 
def format_for_error (self)
 

Member Function Documentation

◆ format_for_error()

def format_for_error (   self)

◆ get_candidate_lookup()

def get_candidate_lookup (   self)

◆ is_satisfied_by()

def is_satisfied_by (   self,
  candidate 
)

◆ 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 in UnsatisfiableRequirement, RequiresPythonRequirement, SpecifierRequirement, and ExplicitRequirement.

◆ 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 in UnsatisfiableRequirement, RequiresPythonRequirement, SpecifierRequirement, and ExplicitRequirement.


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