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

Function _resolved

tests/lib/tools/toolsets/test_security.py:214–215  ·  view source on GitHub ↗
(_path: str)

Source from the content-addressed store, hash-verified

212 authenticate to the named host, and a DOS device name opens the device, not a file."""
213
214 def _resolved(_path: str) -> str:
215 raise AssertionError("the candidate must be refused before it is resolved")
216
217 monkeypatch.setattr(_security, "ON_WINDOWS", True)
218 monkeypatch.setattr(_security, "realpath_lenient", _resolved)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected