1

我的代码如下所示:

class DocumentLog(MongokitBaseModel):
    __collection__ = 'document_log'
    __database__ = MASTER_DB


db = connection.DocumentLog(dData)

如何解决 Mongokit TypeError: init () got an unexpected keyword argument 'collection' 错误

4

0 回答 0