amisadmin / fastapi-amis-admin

FastAPI-Amis-Admin is a high-performance, efficient and easily extensible FastAPI admin framework. Inspired by django-admin, and has as many powerful functions as django-admin.
http://docs.amis.work
Apache License 2.0
1.09k stars 161 forks source link

class BaseApiOut(GenericModel, Generic[_T], BaseApiSchema):TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases #159

Open rockhhp opened 10 months ago

rockhhp commented 10 months ago

今天迁移到新服务器,跑程序报错:class BaseApiOut(GenericModel, Generic[_T], BaseApiSchema):TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases 请问大佬有没有遇到这个问题,如何解决,请指教,谢谢