diff --git a/demos/python/sdk_wireless_camera_control/open_gopro/types.py b/demos/python/sdk_wireless_camera_control/open_gopro/types.py index 56b3ae5d..5eb8918e 100644 --- a/demos/python/sdk_wireless_camera_control/open_gopro/types.py +++ b/demos/python/sdk_wireless_camera_control/open_gopro/types.py @@ -5,7 +5,12 @@ from __future__ import annotations -from typing import Any, Callable, Coroutine, TypeAlias, Union +from typing import Any, Callable, Coroutine, Union + +try: + from typing import TypeAlias +except ImportError: + from typing_extensions import TypeAlias import construct from google.protobuf.message import Message