mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 14:04:18 +02:00
Fix Settings field with both default and default_factory (#1380)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e62d2dd3c2
commit
1ade5ddb05
1 changed files with 4 additions and 7 deletions
|
|
@ -244,13 +244,10 @@ class Settings(BaseSettings):
|
|||
),
|
||||
] = False
|
||||
|
||||
server_dependencies: Annotated[
|
||||
list[str],
|
||||
Field(
|
||||
default_factory=list,
|
||||
description="List of dependencies to install in the server environment",
|
||||
),
|
||||
] = []
|
||||
server_dependencies: list[str] = Field(
|
||||
default_factory=list,
|
||||
description="List of dependencies to install in the server environment",
|
||||
)
|
||||
|
||||
# StreamableHTTP settings
|
||||
json_response: bool = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue