Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ coerce
Method
coerce
test/ext/test_mutable.py:104–107 ·
view source on GitHub ↗
(cls, key, value)
Source
from the content-addressed store, hash-verified
102
class
MyPoint(Point):
103
@classmethod
104
def
coerce(cls, key, value):
105
if
isinstance(value, tuple):
106
value = Point(*value)
107
return
value
108
109
110
@dataclasses.dataclass
Callers
15
_make_path_registry
Method · 0.45
test_root_registry
Method · 0.45
test_expand
Method · 0.45
test_entity_boolean
Method · 0.45
test_key_boolean
Method · 0.45
test_aliased_class
Method · 0.45
test_indexed_entity
Method · 0.45
test_indexed_key_token
Method · 0.45
test_slice_token
Method · 0.45
test_indexed_key
Method · 0.45
test_slice
Method · 0.45
test_addition
Method · 0.45
Calls
1
Point
Class · 0.70
Tested by
no test coverage detected