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)
| 1869 | return False |
| 1870 | |
| 1871 | def __iter__(self) -> Iterator[_T]: |
| 1872 | """Iterate over proxied values. |
| 1873 | |
| 1874 | For the actual domain objects, iterate over .col instead or just use |
| 1875 | the underlying collection directly from its property on the parent. |
| 1876 | |
| 1877 | """ |
| 1878 | for member in self.col: |
| 1879 | yield self._get(member) |
| 1880 | return |
| 1881 | |
| 1882 | def add(self, __element: _T, /) -> None: |
| 1883 | if __element not in self: |