Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ neg
Method
neg
tests/test_computed_fields.py:269–270 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
267
268
@singledispatchmethod
269
def
neg(self, arg):
270
raise
NotImplementedError(
'Cannot negate a'
)
271
272
@neg.register
273
def
_(self, arg: int):
Callers
1
test_functools
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected