File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,15 +134,19 @@ snowflake = [
134134starrocks = [" pymysql" ]
135135trino = [" trino" ]
136136web = [
137- " fastapi==0.120.1" ,
137+ " fastapi>=0.136.3; python_version >= '3.10'" ,
138+ " starlette>=1.0.1; python_version >= '3.10'" ,
139+ " fastapi==0.120.1; python_version < '3.10'" ,
138140 " watchfiles>=0.19.0" ,
139141 " uvicorn[standard]==0.22.0" ,
140142 " sse-starlette>=0.2.2" ,
141143 " pyarrow" ,
142144]
143145lsp = [
144146 # Duplicate of web
145- " fastapi==0.120.1" ,
147+ " fastapi>=0.136.3; python_version >= '3.10'" ,
148+ " starlette>=1.0.1; python_version >= '3.10'" ,
149+ " fastapi==0.120.1; python_version < '3.10'" ,
146150 " watchfiles>=0.19.0" ,
147151 # "uvicorn[standard]==0.22.0",
148152 " sse-starlette>=0.2.2" ,
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def get_path_to_model_mapping(
9696
9797def get_loaded_context (
9898 settings : Settings = Depends (get_settings ),
99- ) -> t .Generator [Context , None ]:
99+ ) -> t .Generator [Context , None , None ]:
100100 try :
101101 with get_loaded_context_lock :
102102 yield _get_loaded_context (settings .project_path , settings .config , settings .gateway )
You can’t perform that action at this time.
0 commit comments