-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Some Python libraries can accept either a function or array, and distinguish between the two with isinstance(x, typing.Callable). Unfortunately this is always the case for ArrayValue:

Which means that libraries may try to treat the array as a function. Would it be possible to fix that? I'd guess that ArrayValue would need to stop inheriting from AnyValue, which defines __call__().
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request