masque/masque/utils/types.py

14 lines
220 B
Python

"""
Type definitions
"""
from typing import Protocol
layer_t = int | tuple[int, int] | str
annotations_t = dict[str, list[int | float | str]]
class SupportsBool(Protocol):
def __bool__(self) -> bool:
...