Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
class
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
23
class
NoSuchRecord(LookupError):
Callers
1
ensure_table
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected