diff --git a/templating/matrix_templates/units.py b/templating/matrix_templates/units.py index 8308daa5..e3a67b0a 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -366,8 +366,7 @@ class MatrixUnits(Units): if is_array_of_objects: req_obj = req_obj["items"] - req_tables = get_tables_for_schema( - filepath, req_obj, include_parents=True) + req_tables = get_tables_for_schema(req_obj) if req_tables > 1: for table in req_tables[1:]: