Jeremiah Lowin Claude commited on
Commit
49e6154
·
unverified ·
1 Parent(s): c9434ed

Fix Settings field with both default and default_factory (#1380)

Browse files
Files changed (1) hide show
  1. src/fastmcp/settings.py +4 -7
src/fastmcp/settings.py CHANGED
@@ -244,13 +244,10 @@ class Settings(BaseSettings):
244
  ),
245
  ] = False
246
 
247
- server_dependencies: Annotated[
248
- list[str],
249
- Field(
250
- default_factory=list,
251
- description="List of dependencies to install in the server environment",
252
- ),
253
- ] = []
254
 
255
  # StreamableHTTP settings
256
  json_response: bool = False
 
244
  ),
245
  ] = False
246
 
247
+ server_dependencies: list[str] = Field(
248
+ default_factory=list,
249
+ description="List of dependencies to install in the server environment",
250
+ )
 
 
 
251
 
252
  # StreamableHTTP settings
253
  json_response: bool = False