Skip to content

Which is the Best Python version to use here? #231

@jerry1807

Description

@jerry1807

I am again and again running into this issue

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/homebrew/Cellar/[email protected]/3.11.10/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Volumes/BlackHatFiles/bolna/local_setup/quickstart_client.py", line 167, in main
async with websockets.connect(uri, open_timeout=None, extra_headers=headers) as ws:
File "/Volumes/BlackHatFiles/bolna/venv/lib/python3.11/site-packages/websockets/asyncio/client.py", line 587, in aenter
return await self
^^^^^^^^^^
File "/Volumes/BlackHatFiles/bolna/venv/lib/python3.11/site-packages/websockets/asyncio/client.py", line 541, in await_impl
self.connection = await self.create_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/BlackHatFiles/bolna/venv/lib/python3.11/site-packages/websockets/asyncio/client.py", line 467, in create_connection
_, connection = await loop.create_connection(factory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'

I wanna have some idea into the core issue, i feel like no one else has this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions