Luca448's picture
Savestate: Fix Dockerfile and add Browser_Agent for HF build, bump version to 1.8.334
508316a
Raw History Blame Contribute Delete
395 Bytes
# workflows/base.py
from abc import ABC, abstractmethod
from playwright.async_api import Page
class BaseWorkflow(ABC):
"""Basisklasse für alle autonomen Workflows."""
def __init__(self, page: Page):
self.page = page
@abstractmethod
async def run(self, *args, **kwargs) -> dict:
"""Führt den Workflow aus und gibt das Ergebnis zurück."""
...