MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / acall

Method acall

api/bedrock_client.py:436–440  ·  view source on GitHub ↗

Make an asynchronous call to the AWS Bedrock API.

(self, api_kwargs: Dict = None, model_type: ModelType = None)

Source from the content-addressed store, hash-verified

434 raise ValueError(f"Model type {model_type} is not supported by AWS Bedrock client")
435
436 async def acall(self, api_kwargs: Dict = None, model_type: ModelType = None) -> Any:
437 """Make an asynchronous call to the AWS Bedrock API."""
438 # For now, just call the sync method
439 # In a real implementation, you would use an async library or run the sync method in a thread pool
440 return self.call(api_kwargs, model_type)
441
442 def convert_inputs_to_api_kwargs(
443 self, input: Any = None, model_kwargs: Dict = None, model_type: ModelType = None

Callers

nothing calls this directly

Calls 1

callMethod · 0.95

Tested by

no test coverage detected