feat(api): Introduce workflow pause state management (#27298)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
QuantumGhost
2025-10-30 14:41:09 +08:00
committed by GitHub
parent fd7c4e8a6d
commit a1c0bd7a1c
43 changed files with 3834 additions and 44 deletions

View File

@@ -85,7 +85,7 @@ class Storage:
case _:
raise ValueError(f"unsupported storage type {storage_type}")
def save(self, filename, data):
def save(self, filename: str, data: bytes):
self.storage_runner.save(filename, data)
@overload

View File

@@ -8,7 +8,7 @@ class BaseStorage(ABC):
"""Interface for file storage."""
@abstractmethod
def save(self, filename, data):
def save(self, filename: str, data: bytes):
raise NotImplementedError
@abstractmethod