Spaces:
Sleeping
Sleeping
from abc import abstractmethod | |
from typing import Any, Dict, Optional | |
from pydantic_settings import BaseSettings | |
class BaseStore(BaseSettings): | |
def get_source_state(self, id: str) -> Optional[Dict[str, Any]]: | |
pass | |
def get_sink_state(self, id: str) -> Optional[Dict[str, Any]]: | |
pass | |
def get_analyzer_state(self, id: str) -> Optional[Dict[str, Any]]: | |
pass | |
def update_source_state(self, workflow_id: str, state: Dict[str, Any]) -> Optional[Any]: | |
pass | |
def update_sink_state(self, workflow_id: str, state: Dict[str, Any]) -> None: | |
pass | |
def update_analyzer_state(self, workflow_id: str, state: Dict[str, Any]) -> None: | |
pass | |
def delete_workflow(self, id: str) -> None: | |
pass | |