aws-samples / aws-samples/amazon-transcribe-streaming-python-websockets
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'
Open
- Dominant language
- Python
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The WebSockets API has been updated, and extra_headers in the connect method has been changed to additional_headers.
Contributor guide
Research direction
Start at the WebSockets connect call that passes extra_headers and compare it with the current API described in the issue. Update the sample so the connection no longer raises the reported TypeError, then run the available example or tests to confirm streaming still starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100