mypy-boto3-bedrock-runtime

Type hints for AWS Bedrock Runtime boto3 service in Python

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Type annotations for boto3 BedrockRuntime 1.42.42 service generated with mypy-boto3-builder 8.12.0

Examples

add type checking to bedrock runtime code$ python -c "from mypy_boto3_bedrock_runtime import BedrockRuntimeClient; client: BedrockRuntimeClient"
enable autocomplete for bedrock runtime methods$ pip install mypy-boto3-bedrock-runtime && python -c "import mypy_boto3_bedrock_runtime"
verify types in bedrock runtime boto3 calls$ mypy your_bedrock_script.py
get type hints for invoke model operations$ python -c "from mypy_boto3_bedrock_runtime.client import BedrockRuntimeClient; help(BedrockRuntimeClient.invoke_model)"
check bedrock runtime service response types$ python -c "from mypy_boto3_bedrock_runtime.type_defs import InvokeModelResponseTypeDef; print(InvokeModelResponseTypeDef.__annotations__)"