mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-10 02:34:20 +00:00
first commit
This commit is contained in:
11
legacy_reference/workflows/repositories/base.py
Normal file
11
legacy_reference/workflows/repositories/base.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Protocol
|
||||
|
||||
from agente_contas_tim.workflows.contracts import WorkflowDef
|
||||
|
||||
|
||||
class WorkflowRepository(Protocol):
|
||||
def get_active(self, name: str) -> WorkflowDef: ...
|
||||
|
||||
def get_version(self, name: str, version: int) -> WorkflowDef: ...
|
||||
Reference in New Issue
Block a user