Skip to content

fix bug: DeviceState.get_all_children doesn't return all the children#163

Open
zr4in wants to merge 1 commit intohoneynet:masterfrom
zr4in:master
Open

fix bug: DeviceState.get_all_children doesn't return all the children#163
zr4in wants to merge 1 commit intohoneynet:masterfrom
zr4in:master

Conversation

@zr4in
Copy link

@zr4in zr4in commented Nov 12, 2024

>>> a = set([1, 2, 3])
>>> b = set([2, 3, 4])
>>> a.union(b)
{1, 2, 3, 4}
>>> a
{1, 2, 3}
>>> a = a.union(b)
>>> a
{1, 2, 3, 4}

A set won't be update after set.union(set) called.

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.

1 participant