13 lines
366 B
Python
13 lines
366 B
Python
# =============================
|
|
# app/tabs/__init__.py
|
|
# =============================
|
|
|
|
from __future__ import annotations
|
|
from dataclasses import dataclass
|
|
from typing import Protocol, Dict, Any
|
|
|
|
class SimTab(Protocol):
|
|
frame: any
|
|
def save_into_config(self, out: Dict[str, Any]) -> None: ...
|
|
def load_from_config(self, cfg: Dict[str, Any]) -> None: ...
|