From e618c56c118a43ddabf5fe1bf69ff6f3faf7ee47 Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 2 Sep 2025 15:05:06 +0200 Subject: [PATCH] fix(dm): add constants.py --- .../widgets/control/device_manager/components/constants.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bec_widgets/widgets/control/device_manager/components/constants.py diff --git a/bec_widgets/widgets/control/device_manager/components/constants.py b/bec_widgets/widgets/control/device_manager/components/constants.py new file mode 100644 index 00000000..a75950ab --- /dev/null +++ b/bec_widgets/widgets/control/device_manager/components/constants.py @@ -0,0 +1,5 @@ +from typing import Final + +# Denotes a MIME type for JSON-encoded list of device config dictionaries +MIME_DEVICE_CONFIG: Final[str] = "application/x-bec_device_config" +CONFIG_DATA_ROLE: Final[int] = 118