Skip to content

Commit bc7a404

Browse files
Add BlobIOContextDep to ActionDescriptor.list_invocations so context vars are available
1 parent 034ea9a commit bc7a404

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/labthings_fastapi/descriptors/action.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def start_action(
253253
),
254254
summary=f"All invocations of {self.name}.",
255255
)
256-
def list_invocations(action_manager: ActionManagerContextDep):
256+
def list_invocations(
257+
action_manager: ActionManagerContextDep, _blob_manager: BlobIOContextDep
258+
):
257259
return action_manager.list_invocations(self, thing, as_responses=True)
258260

259261
def action_affordance(

0 commit comments

Comments
 (0)