simvue-io / client

Simvue Python client
https://docs.simvue.io
Apache License 2.0
4 stars 0 forks source link

Fix ambiguity issue with numpy artifact retrieval #387

Closed kzscisoft closed 1 month ago

kzscisoft commented 1 month ago

When returning a numpy artifact the statement return content or content.response will throw an ambiguity error due to the assertion of a numpy array being ambiguous. This fix switches to checking explicitly for None.

wk9874 commented 1 month ago

Tested and works :)