Let us walk on the 3-isogeny graph
|
Public Member Functions | |
None | __init__ (self, Dict[str, List[str]] allowed, Dict[str, "_Hash"] gots) |
str | body (self) |
![]() | |
str | __str__ (self) |
Data Fields | |
allowed | |
gots | |
![]() | |
req | |
Static Public Attributes | |
int | order = 4 |
tuple | head |
![]() | |
Optional | req = None |
str | head = "" |
int | order = -1 |
Protected Member Functions | |
str | _hash_comparison (self) |
![]() | |
str | _requirement_name (self) |
Distribution file hash values don't match. :ivar package_name: The name of the package that triggered the hash mismatch. Feel free to write to this after the exception is raise to improve its error message.
Definition at line 568 of file exceptions.py.
None __init__ | ( | self, | |
Dict[str, List[str]] | allowed, | ||
Dict[str, "_Hash"] | gots | ||
) |
:param allowed: A dict of algorithm names pointing to lists of allowed hex digests :param gots: A dict of algorithm names pointing to hashes we actually got from the files under suspicion
Definition at line 586 of file exceptions.py.
Referenced by Protocol.__init_subclass__().
|
protected |
Return a comparison of actual and expected hash values. Example:: Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde or 123451234512345123451234512345123451234512345 Got bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef
Definition at line 599 of file exceptions.py.
str body | ( | self | ) |
Return a summary of me for display under the heading. This default implementation simply prints a description of the triggering requirement. :param req: The InstallRequirement that provoked this error, with its link already populated by the resolver's _populate_link().
Reimplemented from HashError.
Definition at line 596 of file exceptions.py.
Referenced by PreparedRequest.copy(), PreparedRequest.prepare_auth(), and PreparedRequest.prepare_body().
allowed |
Definition at line 593 of file exceptions.py.
gots |
Definition at line 594 of file exceptions.py.
|
static |
Definition at line 579 of file exceptions.py.
|
static |
Definition at line 578 of file exceptions.py.