Error !

AttributeError: 'Polygon' object has no attribute 'geoms'

34
%if extract.real_estate.limit and params.with_geometry:
35
    <data:Limit>
36
        <geometry:surface>
37
            %for polygon in real_estate.limit.geoms:
38
                <%include file="geometry/polygon.xml" args="polygon=polygon"/>
39
            %endfor
40
        </geometry:surface>
41
    </data:Limit>
42
%endif
/usr/local/lib/python3.9/site-packages/pyramid_oereb/core/renderer/extract/templates/xml/real_estate.xml, line 37:
37
            %for polygon in real_estate.limit.geoms:
/usr/local/lib/python3.9/site-packages/mako/runtime.py, line 793:
793
callable_(ctx, **kwargs)
/usr/local/lib/python3.9/site-packages/pyramid_oereb/core/renderer/extract/templates/xml/extract.xml, line 81:
81
        <%include file="real_estate.xml" args="real_estate=extract.real_estate"/>
/usr/local/lib/python3.9/site-packages/mako/runtime.py, line 943:
943
callable_(context, *args, **kwargs)
/usr/local/lib/python3.9/site-packages/mako/runtime.py, line 916:
916
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/usr/local/lib/python3.9/site-packages/mako/runtime.py, line 874:
874
_render_context(
/usr/local/lib/python3.9/site-packages/mako/template.py, line 439:
439
return runtime._render(self, self.callable_, args, data)
/usr/local/lib/python3.9/site-packages/pyramid_oereb/core/renderer/extract/xml_.py, line 77:
77
content = template.render(**{
/usr/local/lib/python3.9/site-packages/pyramid_oereb/core/renderer/extract/xml_.py, line 61:
61
content = self._render(extract, self._params_)