mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-05-15 22:10:23 +01:00
11 lines
251 B
Python
11 lines
251 B
Python
"""module defining protocols for type hinting."""
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Protocol, runtime_checkable
|
|
|
|
|
|
@runtime_checkable
|
|
@dataclass
|
|
class DataclassProtocol(Protocol):
|
|
"""A protocol for dataclass-like structures."""
|