mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-09 18:24:20 +00:00
12 lines
293 B
Python
12 lines
293 B
Python
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: ...
|