Skip to content

Conversation

@rwb27
Copy link
Collaborator

@rwb27 rwb27 commented Jan 5, 2026

This relaxes the test proposed in #230 to only check the value is serialised properly. This should allow us to separate the (immediate, critical) issue of being able to return np.ndarray objects using an annotated type from the (important but slightly less urgent) issue of making ThingClient return types match Thing return types.

This removes the check that the ThingClient returns an ndarray instance, instead only
checking that the right value is returned as a list of numbers.

I've also added a test for reading a property that's a numpy array.
Base automatically changed from ndarray-test to main January 5, 2026 23:14
@rwb27 rwb27 merged commit 4cbc085 into main Jan 5, 2026
5 of 14 checks passed
@rwb27 rwb27 deleted the ndarray-test-value-only branch January 5, 2026 23:14
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.

2 participants