OpoTests/Python/Interfaces/FormatModeInterface.py

27 lines
685 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from Interfaces.FormatModuleInterface import FormatModuleInterface
from typing import Any, Self, Optional
class FormatModeInterface:
def __init__(self:Self,
format:FormatModuleInterface,
options:Optional[dict[str, Any|None]] = None
) -> None:pass
def get(self:Self,
i:int,
inputs:str|list[Any|None],
shared:dict[str, Any|None] = {},
fragments:list[str] = []
) -> str:pass
def check(self:Self,
i:int,
string:str,
inputs:str|list[Any|None],
shared:dict[str, Any|None] = {},
fragments:list[str] = []
) -> int:pass