Skip to content
Snippets Groups Projects
Commit a45a71e2 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Merge branch 'dev' into f-191-fix-mypy-errors-in-models-py-and-complete-type-hints

parents 72ea1346 ffe438d8
Branches
Tags
2 merge requests!143Release 0.15.0,!134Resolve "Fix mypy errors in models.py and complete type hints"
Pipeline #49512 passed with warnings
This commit is part of merge request !134. Comments created here will be created in the context of that merge request.
...@@ -3536,7 +3536,7 @@ class Container(list): ...@@ -3536,7 +3536,7 @@ class Container(list):
for prop in container_item.get_properties(): for prop in container_item.get_properties():
prop_dt = prop.datatype prop_dt = prop.datatype
if is_reference(prop_dt): if prop_dt is not None and is_reference(prop_dt):
# add only if it is a reference, not a simple property # add only if it is a reference, not a simple property
# Step 1: look for prop.value # Step 1: look for prop.value
if prop.value is not None: if prop.value is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment