DBGPT 保存工作流时报错 arbitrary_types_allowed=True

DBGPT 保存工作流时报错:

ERROR common_exception_handler catch Exception: success=False err_code='E0003' err_msg="Unable to generate pydantic-core schema for <class 'dbgpt.core.awel.dag.base.DAG'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement __get_pydantic_core_schema__ on your type to fully support it.\n\nIf you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.\n\nFor further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type" data=None

解决:

bash 复制代码
pip install fastapi==0.111.0 
相关推荐
盒马coding3 小时前
第19节-非规范化数据类型-Composite-types
数据库·postgresql
-雷阵雨-3 小时前
MySQL——桥梁JDBC
数据库·mysql·oracle
亿坊电商4 小时前
在PHP框架里如何进行数据库连接?
数据库·oracle·php
满昕欢喜4 小时前
SQL Server从入门到项目实践(超值版)读书笔记 28
数据库·sql·sqlserver
楚韵天工4 小时前
宠物服务平台(程序+文档)
java·网络·数据库·spring cloud·编辑器·intellij-idea·宠物
李白你好6 小时前
一款专业的多数据库安全评估工具,支持 **PostgreSQL、MySQL、Redis、MSSQL** 等多种数据库的后渗透操作
数据库·mysql·postgresql
恋红尘6 小时前
Mysql
数据库·mysql
paishishaba6 小时前
数据库设计原则
数据库
曹牧7 小时前
oracle:NOT IN
数据库·oracle
爬山算法7 小时前
Redis(66)Redis如何实现分布式锁?
数据库·redis·分布式