MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / _normalize_bedrock_host

Function _normalize_bedrock_host

conftest.py:124–127  ·  view source on GitHub ↗
(host: str)

Source from the content-addressed store, hash-verified

122
123
124def _normalize_bedrock_host(host: str) -> str:
125 if _BEDROCK_HOST_RE.match(host):
126 return BEDROCK_HOST_PLACEHOLDER
127 return host
128
129
130def bedrock_host_matcher(r1: Request, r2: Request) -> bool: # type: ignore[no-any-unimported]

Callers 1

bedrock_host_matcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected