Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/msgspec/msgspec
/ Point
Class
Point
tests/unit/test_struct.py:864–866 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
862
863
864
class
Point(Struct):
865
x: int
866
y: int
867
868
869
class
PointKWOnly(Struct, kw_only=True):
Callers
13
test_frozen_hash_mutable_objects_hash_errors
Method · 0.70
test_struct_eq_false
Method · 0.70
test_struct_order
Method · 0.70
test_defstruct_simple
Method · 0.70
test_defstruct_bases
Method · 0.70
test_defstruct_bases_none
Method · 0.70
test_replace_no_kwargs
Method · 0.70
test_replace_kwargs
Method · 0.70
test_replace_unknown_field
Method · 0.70
test_replace_errors_unset_fields
Method · 0.70
test_asdict
Method · 0.70
test_astuple
Method · 0.70
Calls
no outgoing calls
Tested by
13
test_frozen_hash_mutable_objects_hash_errors
Method · 0.56
test_struct_eq_false
Method · 0.56
test_struct_order
Method · 0.56
test_defstruct_simple
Method · 0.56
test_defstruct_bases
Method · 0.56
test_defstruct_bases_none
Method · 0.56
test_replace_no_kwargs
Method · 0.56
test_replace_kwargs
Method · 0.56
test_replace_unknown_field
Method · 0.56
test_replace_errors_unset_fields
Method · 0.56
test_asdict
Method · 0.56
test_astuple
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…