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

Function policy

tests/lib/tools/toolsets/test_interface.py:190–191  ·  view source on GitHub ↗
(ctx: object, url: str)

Source from the content-addressed store, hash-verified

188
189def test_url_policy_is_a_callable_or_unset() -> None:
190 def policy(ctx: object, url: str) -> None:
191 return None
192
193 TwoMembers(url_policy=policy)
194 TwoMembers()

Callers 2

__apply_policyMethod · 0.50
__apply_policyMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected