Iterate over proxied values. For the actual domain objects, iterate over .col instead or just use the underlying collection directly from its property on the parent.
(self)
| 1547 | return False |
| 1548 | |
| 1549 | def __iter__(self) -> Iterator[_T]: |
| 1550 | """Iterate over proxied values. |
| 1551 | |
| 1552 | For the actual domain objects, iterate over .col instead or |
| 1553 | just use the underlying collection directly from its property |
| 1554 | on the parent. |
| 1555 | """ |
| 1556 | |
| 1557 | for member in self.col: |
| 1558 | yield self._get(member) |
| 1559 | return |
| 1560 | |
| 1561 | def append(self, value: _T) -> None: |
| 1562 | col = self.col |