Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jan 27, 2024 · 0 comments

Comments

@rockhhp
Copy link

rockhhp commented Jan 27, 2024

今天迁移到新服务器,跑程序报错: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
请问大佬有没有遇到这个问题,如何解决,请指教,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant