Skip to content

Conversation

@sindrelothe
Copy link

@sindrelothe sindrelothe commented Jul 18, 2022

From here:
https://docs.python.org/3/reference/datamodel.html?highlight=__getattr__#object.__getattr

object.getattr(self, name)
This method should either return the (computed) attribute value or raise an AttributeError

Right now the function throws a KeyError when it gets a wrong argument, which makes the streamit_elements components unusable with pickle, deepcopy and other standard python libraries because they expect ArgumentError

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