Skip to content

ListField of embedded docs doesn't set the _instance attribute when iterating over it #914

@alonho

Description

@alonho

It sets it for getitem but not for iter. Example:

[i._instance for i in parent.children] # [None, None, None]
parent.children[0]._instance == parent # True

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions