mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
pyproject.toml - enableTypeIgnoreComments=false
This commit is contained in:
@@ -142,7 +142,7 @@ def get_representation(
|
||||
:param target_view: A TargetView string, or any if left blank.
|
||||
:return: The first IfcShapeRepresentation matching the criteria.
|
||||
"""
|
||||
for r in get_representations_iter(element): # type: ignore
|
||||
for r in get_representations_iter(element):
|
||||
if is_representation_of_context(r, context, subcontext, target_view):
|
||||
return r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user