MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / __len__

Method __len__

tests/lib/tools/toolsets/test_interface.py:182–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 class Sly(dict[str, object]):
181 @override
182 def __len__(self) -> int:
183 return 0
184
185 sly = cast(Any, TwoMembers(configs=cast(Any, Sly(navigate={"enabled": False}))).to_dict())
186 assert sly["configs"]["navigate"] == {"enabled": False}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected