You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The layers implementation uses dictionaries for parents/children, so inclusion testing on those attributes maps back to the keys of the layer instead of the values. E.g., foo in literal_layer.children iterates over the literals in the current layer, not the children.
It may be better to make the children and parents private, and expose a read-only getter that requires a key to make the API more clear.
The text was updated successfully, but these errors were encountered:
The layers implementation uses dictionaries for parents/children, so inclusion testing on those attributes maps back to the keys of the layer instead of the values. E.g.,
foo in literal_layer.children
iterates over the literals in the current layer, not the children.It may be better to make the children and parents private, and expose a read-only getter that requires a key to make the API more clear.
The text was updated successfully, but these errors were encountered: