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

Class SchemaMismatch

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

The table schema doesn't match the class.

Source from the content-addressed store, hash-verified

14
15
16class SchemaMismatch(ValueError):
17 """The table schema doesn't match the class."""
18
19 def __init__(self, table_name):
20 self.table_name = table_name
21
22
23class NoSuchRecord(LookupError):

Callers 1

ensure_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected