We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ff0fe commit cdccab0Copy full SHA for cdccab0
1 file changed
src/labthings_fastapi/actions/__init__.py
@@ -131,7 +131,14 @@ def id(self) -> uuid.UUID:
131
132
@property
133
def output(self) -> Any:
134
- """Return value of the Action. If the Action is still running, returns None."""
+ """Return value of the Action. If the Action is still running, returns None.
135
+
136
+ :raise NoBlobManagerError: If this is called in a context where the blob
137
+ manager context variables are not available. This stops errors being raised
138
+ later once the blob is returned and tries to serialise. If the errors
139
+ happen during serialisation the stack-trace will not clearly identify
140
+ the route with the missing dependency.
141
+ """
142
try:
143
blobdata_to_url_ctx.get()
144
except LookupError as e:
0 commit comments