We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e4aed5 commit 8a883f0Copy full SHA for 8a883f0
src/labthings_fastapi/outputs/blob.py
@@ -16,6 +16,7 @@
16
class MyImageBlob(Blob):
17
media_type = "image/png"
18
19
+
20
class MyThing(Thing):
21
@thing_action
22
def get_image(self) -> MyImageBlob:
src/labthings_fastapi/types/numpy.py
@@ -7,6 +7,7 @@
7
```
8
from labthings_fastapi.types.ndarray import NDArray
9
10
11
def double(arr: NDArray) -> NDArray:
12
return arr * 2 # arr is a numpy.ndarray
13
0 commit comments