File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2525import requests as req
2626import rioxarray
2727import websockets
28+ import websockets .asyncio .client
2829import xarray as xr
2930from owslib .util import Authentication , ResponseWrapper
3031from owslib .wcs import WebCoverageService
@@ -622,7 +623,7 @@ async def raster_stream(
622623
623624 async with websockets .asyncio .client .connect (
624625 uri = self .__replace_http_with_ws (url ),
625- extra_headers = session .auth_header ,
626+ additional_headers = session .auth_header ,
626627 open_timeout = open_timeout ,
627628 max_size = None ,
628629 ) as websocket :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies = [
2929 " rioxarray >=0.9.1, <0.20" ,
3030 " StrEnum >=0.4.6,<0.5" , # TODO: use from stdlib when `python_requires = >=3.11`
3131 " vega >= 3.5,<4.2" ,
32- " websockets >= 14.0 ,<16" ,
32+ " websockets >= 14.2 ,<16" ,
3333 " xarray >=0.19,<2025.8" ,
3434 " urllib3 >= 2.1, < 2.6" ,
3535 " pydantic >= 2.10.6, < 2.12" ,
You can’t perform that action at this time.
0 commit comments