阅读背景:

python中类中的类,如何共享信息

来源:互联网 

I am trying to create a class for a database using peewee in python. This results in nested classes due to peewee's use of a class named meta in the models. My question is, how do I define the database (=db) within the class Meta? Is there perhaps a better way?I am trying to create a class for a database us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: