setParser¶
Provide utilities to parse and read properties from set files.
- lvpyioTools.setParser.read_property(key: str, value: str)[source]¶
Read a property from the set file and convert it to the appropriate type and property key.
- Parameters:
key – The property key from the set file.
value – The property value from the set file.
- Returns:
A tuple containing the property key as a
SetPropertyenum member (orNoneif unknown) and the converted property value (orNoneif conversion failed).