From 6af2b09f19c1fa3ef5bc47526cc35dcee8ce65ce 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