Skip to content

Commit

Permalink
Use Python skip support
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jan 18, 2024
1 parent 2e99737 commit 739a463
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/update/basic_async/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def my_validate(self, arg: str):
raise ValueError("Invalid Update argument")


async def checker(_: Runner, handle: WorkflowHandle):
async def checker(runner: Runner, handle: WorkflowHandle):
await runner.skip_if_update_unsupported()
bad_update_handle = await handle.start_update(Workflow.my_update, "bad-update-arg")
try:
await bad_update_handle.result()
Expand Down

0 comments on commit 739a463

Please sign in to comment.