Coverage for gws-app/gws/plugin/ows_server/csw/templates/iso/__init__.py: 100%
0 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
1"""Default templates of the CSW service for the ISO metadata profile.
3The templates are ``py`` templates. Each template module defines a ``main``
4function that takes the template arguments (``gws.base.ows.server.TemplateArgs``)
5and returns the response.
7Modules:
9- ``getCapabilities.cx.py``: the capabilities document (``ows.GetCapabilities``).
10- ``describeRecord.cx.py``: the record schema description (``ows.DescribeRecord``).
11- ``getRecords.cx.py``: the search results (``ows.GetRecords``). The CSW service
12 also uses it for ``ows.GetRecordById``.
13- ``getRecordById.cx.py``: a single record.
14- ``record``: helper that builds a ``gmd:MD_Metadata`` record from a
15 ``gws.Metadata`` object; used by the record templates.
16- ``MDRecordSchemaComponent.xml``: the record schema returned by DescribeRecord.
17"""