flask-demo-api/flask_demo_api/protocols/models.py

8 lines
105 B
Python

from dataclasses import dataclass
@dataclass(frozen=True)
class KeyDTO:
key: str
val: str = ""