Skip to content

Conversation

@sanjayankur31
Copy link
Member

No description provided.

This is required because all the arguments of functions that use caching
must be hashable. Now, the user should see the required type for the
`axes_pos` argument is a tuple, but if they miss that and provide a
list, they'll get a `not hashable` error, which isn't the most clear.

So, we help the user out by casting a list into a tuple where possible.
Now that we have quite a performant visualiser, we can default to
detailed rather than constant.
@sanjayankur31 sanjayankur31 merged commit be61e1e into development Sep 10, 2024
6 checks passed
@sanjayankur31 sanjayankur31 deleted the feat-improve-cached-method-invocations branch September 10, 2024 11:45
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.

Cached functions: cast arguments to hashable types before invocation

1 participant