From 13a0d448f561bef18906a22500a115f7caf8f617 Mon Sep 17 00:00:00 2001 From: Rubel Date: Fri, 13 Sep 2024 15:13:42 +0200 Subject: [PATCH] Mypy --- src/pynxtools/dataconverter/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pynxtools/dataconverter/helpers.py b/src/pynxtools/dataconverter/helpers.py index 6b64f9939..438b8c60d 100644 --- a/src/pynxtools/dataconverter/helpers.py +++ b/src/pynxtools/dataconverter/helpers.py @@ -647,7 +647,7 @@ def convert_str_to_bool_safe(value): return None -def is_valid_data_field(value, nxdl_type, path) -> bool: +def is_valid_data_field(value, nxdl_type, path): """Checks whether a given value is valid according to what is defined in the NXDL. This function will also try to convert typical types, for example int to float,