feat: mvp
This commit is contained in:
21
dubbing/steps/base.py
Normal file
21
dubbing/steps/base.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from dubbing.models import ProjectPaths
|
||||
|
||||
|
||||
class PipelineStep(ABC):
|
||||
name: str = "Step"
|
||||
|
||||
def __init__(self, paths: ProjectPaths):
|
||||
self.paths = paths
|
||||
|
||||
@abstractmethod
|
||||
def is_cached(self) -> bool:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def clean(self) -> None:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def run(self) -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user