MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / NoSuchRecord

Class NoSuchRecord

24-class-metaprog/persistent/dblib.py:23–27  ·  view source on GitHub ↗

The given primary key does not exist.

Source from the content-addressed store, hash-verified

21
22
23class NoSuchRecord(LookupError):
24 """The given primary key does not exist."""
25
26 def __init__(self, pk):
27 self.pk = pk
28
29
30class UnexpectedMultipleResults(Exception):

Callers 1

fetch_recordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected