. Leading to a :
.../lib/python3.10/site-packages/anthropic/lib/bedrock/_auth.py", line 44, in get_auth_headers
session = _get_session(
TypeError: _get_session() got an unexpected keyword argument 'region_name'
The fix should be a one line change to pass the correct argument name.
anthropic-sdk-python/src/anthropic/lib/bedrock/_auth.py
Lines 44 to 49 in 7312e0a
region_nameto_get_sessionwhereas_get_sessionexpectsregion. Leading to a :The fix should be a one line change to pass the correct argument name.