4067d8c4ab
QML: Get the data from Python and print it (for now) Also: - Remove useless Model.sortable field, all models/items are sortable - Change SyncId type hint for less mypy complaints - Remove ModelItem.main_key class attributes, useless since last big refactor
7 lines
211 B
Python
7 lines
211 B
Python
from typing import Tuple, Type, Union
|
|
|
|
from .model_item import ModelItem
|
|
|
|
# last one: Tuple[Union[Type[ModelItem], Tuple[Type[ModelItem]]], str...]
|
|
SyncId = Union[Type[ModelItem], Tuple[Type[ModelItem]], tuple]
|