Commit b4c49715 authored by Michael Thies's avatar Michael Thies
Browse files

adapter.json: Fix type hints in serialization

parent ef584cab
Pipeline #339949 passed with stages
in 1 minute and 27 seconds
......@@ -275,7 +275,7 @@ def append_iec61360_concept_description_attrs(obj: model.concept.IEC61360Concept
ConceptDescription, but we want to generate compliant JSON documents. So, we fake the JSON structure of an object
with dataSpecifications.
"""
data_spec = {
data_spec: Dict[str, object] = {
'preferredName': lang_string_set_to_json(obj.preferred_name)
}
if obj.data_type is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment