implement an endpoint for running one or more labelled blocks in a workflow (#2878)

This commit is contained in:
Jonathan Dobson 2025-07-04 15:34:15 -04:00 committed by GitHub
parent 993d0eaf45
commit dd666d7e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 204 additions and 6 deletions

View file

@ -128,6 +128,11 @@ class UnknownBlockType(SkyvernException):
super().__init__(f"Unknown block type {block_type}")
class BlockNotFound(SkyvernException):
def __init__(self, block_label: str) -> None:
super().__init__(f"Block {block_label} not found")
class WorkflowNotFound(SkyvernHTTPException):
def __init__(
self,