Skip to content

Conversation

@Bahus
Copy link
Contributor

@Bahus Bahus commented Dec 23, 2014

Hello!

Currently LazyDocumentMetaWrapper is implemented incorrectly, thus in some cases you may get 'Attribute error' when using __getitem__ access method, e.g. self._meta['id_field'] in mongoengine. The problem is LazyDocumentMetaWrapper instance is not initialized when using such methods. Check tests for details.

@jschrewe jschrewe merged commit cef1d49 into jschrewe:master Jul 6, 2015
jschrewe pushed a commit that referenced this pull request Jul 6, 2015
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

Successfully merging this pull request may close these issues.

2 participants