mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 00:18:03 +08:00
fix: mypy error
This commit is contained in:
@ -1467,7 +1467,7 @@ class AppMCPServer(Base):
|
||||
|
||||
@property
|
||||
def parameters_dict(self) -> dict[str, Any]:
|
||||
return json.loads(self.parameters)
|
||||
return cast(dict[str, Any], json.loads(self.parameters))
|
||||
|
||||
|
||||
class Site(Base):
|
||||
|
||||
Reference in New Issue
Block a user