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

Function _expected_urls

tests/lib/test_google_cloud.py:102–108  ·  view source on GitHub ↗
(segments: tuple[str, str, str])

Source from the content-addressed store, hash-verified

100
101
102def _expected_urls(segments: tuple[str, str, str]) -> list[str]:
103 project, location, workspace_id = segments
104 location_url = f"https://claude.googleapis.com/v1/projects/{project}/locations/{location}"
105 return [
106 f"{location_url}/workspaces/{workspace_id}/invoke/v1/messages",
107 f"{location_url}/claudeOrganization/invoke/v1/organizations/workspaces",
108 ]
109
110
111# ---------------------------------------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected