Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
MetadataInconsistent Class Reference
Inheritance diagram for MetadataInconsistent:
Collaboration diagram for MetadataInconsistent:

Public Member Functions

None __init__ (self, "InstallRequirement" ireq, str field, str f_val, str m_val)
 
str __str__ (self)
 

Data Fields

 ireq
 
 field
 
 f_val
 
 m_val
 

Detailed Description

Built metadata contains inconsistent information.

This is raised when the metadata contains values (e.g. name and version)
that do not match the information previously obtained from sdist filename,
user-supplied ``#egg=`` value, or an install requirement name.

Definition at line 341 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
"InstallRequirement"  ireq,
str  field,
str  f_val,
str   m_val 
)

Definition at line 349 of file exceptions.py.

351 ) -> None:
352 self.ireq = ireq
353 self.field = field
354 self.f_val = f_val
355 self.m_val = m_val
356

Referenced by Protocol.__init_subclass__().

Here is the caller graph for this function:

Member Function Documentation

◆ __str__()

str __str__ (   self)

Definition at line 357 of file exceptions.py.

357 def __str__(self) -> str:
358 return (
359 f"Requested {self.ireq} has inconsistent {self.field}: "
360 f"expected {self.f_val!r}, but metadata has {self.m_val!r}"
361 )
362
363

Field Documentation

◆ f_val

f_val

Definition at line 354 of file exceptions.py.

◆ field

field

Definition at line 353 of file exceptions.py.

◆ ireq

ireq

Definition at line 352 of file exceptions.py.

◆ m_val

m_val

Definition at line 355 of file exceptions.py.


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