From 62e254a7aa70999c95d7b39259614739dceb87b7 Mon Sep 17 00:00:00 2001 From: Clemens Rudert Date: Wed, 10 May 2017 21:24:20 +0200 Subject: [PATCH] GSOREB-172 #time 1h add documentation to main models, improve sphinx build, cant fix cross attribute warnings due to still open bug in sphinx: https://github.com/sphinx-doc/sphinx/issues/2549 --- doc/source/api.rst.mako | 16 ++++----- .../models/airports_building_lines.py | 34 +++++++++---------- .../models/airports_project_planning_zones.py | 34 +++++++++---------- .../models/airports_security_zone_plans.py | 34 +++++++++---------- .../contaminated_civil_aviation_sites.py | 34 +++++++++---------- .../models/contaminated_military_sites.py | 34 +++++++++---------- .../contaminated_public_transport_sites.py | 34 +++++++++---------- .../standard/models/contaminated_sites.py | 34 +++++++++---------- .../standard/models/forest_distance_lines.py | 34 +++++++++---------- .../standard/models/forest_perimeters.py | 34 +++++++++---------- .../models/groundwater_protection_sites.py | 34 +++++++++---------- .../models/groundwater_protection_zones.py | 34 +++++++++---------- .../standard/models/land_use_plans.py | 34 +++++++++---------- pyramid_oereb/standard/models/main.py | 6 ++-- .../models/motorways_building_lines.py | 34 +++++++++---------- .../models/motorways_project_planing_zones.py | 34 +++++++++---------- .../models/noise_sensitivity_levels.py | 34 +++++++++---------- .../models/railways_building_lines.py | 34 +++++++++---------- .../models/railways_project_planning_zones.py | 34 +++++++++---------- pyramid_oereb/standard/templates/plr.py.mako | 34 +++++++++---------- 20 files changed, 317 insertions(+), 317 deletions(-) diff --git a/doc/source/api.rst.mako b/doc/source/api.rst.mako index cddf8cb29f..08638ee5f2 100644 --- a/doc/source/api.rst.mako +++ b/doc/source/api.rst.mako @@ -29,16 +29,16 @@ for module in modules: %> %for module in modules: - Module: ${module} - --------${re.sub('.', '-', module)} +Module: ${module} +--------${re.sub('.', '-', module)} - .. automodule:: ${module} - :members: +.. automodule:: ${module} + :members: - %for cls in classes[module]: +%for cls in classes[module]: - .. autoclass:: ${module}.${cls} - :members: +.. autoclass:: ${module}.${cls} + :members: - %endfor +%endfor %endfor diff --git a/pyramid_oereb/standard/models/airports_building_lines.py b/pyramid_oereb/standard/models/airports_building_lines.py index ad0cb32af1..4ac69c7b37 100644 --- a/pyramid_oereb/standard/models/airports_building_lines.py +++ b/pyramid_oereb/standard/models/airports_building_lines.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_building_lines.Office """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_building_lines.Office """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.airports_building_lines.Document """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_building_lines.ViewService """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_building_lines.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_building_lines.Office """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_building_lines.Office """ __table_args__ = {'schema': 'airports_building_lines'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'airports_building_lines'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'airports_building_lines'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_building_lines.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.airports_building_lines.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'airports_building_lines'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.airports_building_lines.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.airports_building_lines.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/airports_project_planning_zones.py b/pyramid_oereb/standard/models/airports_project_planning_zones.py index 4126b288d0..68fb4b5834 100644 --- a/pyramid_oereb/standard/models/airports_project_planning_zones.py +++ b/pyramid_oereb/standard/models/airports_project_planning_zones.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_project_planning_zones.Office """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_project_planning_zones.Office """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.airports_project_planning_zones.Document """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_project_planning_zones.ViewService """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_project_planning_zones.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_project_planning_zones.Office """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_project_planning_zones.Office """ __table_args__ = {'schema': 'airports_project_planning_zones'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'airports_project_planning_zones'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'airports_project_planning_zones'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_project_planning_zones.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.airports_project_planning_zones.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'airports_project_planning_zones'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.airports_project_planning_zones.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.airports_project_planning_zones.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/airports_security_zone_plans.py b/pyramid_oereb/standard/models/airports_security_zone_plans.py index 3df5a632ce..f5211dd4f8 100644 --- a/pyramid_oereb/standard/models/airports_security_zone_plans.py +++ b/pyramid_oereb/standard/models/airports_security_zone_plans.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_security_zone_plans.Office """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_security_zone_plans.Office """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.airports_security_zone_plans.Document """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_security_zone_plans.ViewService """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.airports_security_zone_plans.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_security_zone_plans.Office """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.airports_security_zone_plans.Office """ __table_args__ = {'schema': 'airports_security_zone_plans'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'airports_security_zone_plans'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'airports_security_zone_plans'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.airports_security_zone_plans.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.airports_security_zone_plans.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'airports_security_zone_plans'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.airports_security_zone_plans.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.airports_security_zone_plans.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/contaminated_civil_aviation_sites.py b/pyramid_oereb/standard/models/contaminated_civil_aviation_sites.py index 9303049c98..d5f5363380 100644 --- a/pyramid_oereb/standard/models/contaminated_civil_aviation_sites.py +++ b/pyramid_oereb/standard/models/contaminated_civil_aviation_sites.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Office """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Office """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Document """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.ViewService """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Office """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Office """ __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'contaminated_civil_aviation_sites'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.contaminated_civil_aviation_sites.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/contaminated_military_sites.py b/pyramid_oereb/standard/models/contaminated_military_sites.py index a7ae784736..1185a95452 100644 --- a/pyramid_oereb/standard/models/contaminated_military_sites.py +++ b/pyramid_oereb/standard/models/contaminated_military_sites.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_military_sites.Office """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_military_sites.Office """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.contaminated_military_sites.Document """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_military_sites.ViewService """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_military_sites.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_military_sites.Office """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_military_sites.Office """ __table_args__ = {'schema': 'contaminated_military_sites'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'contaminated_military_sites'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'contaminated_military_sites'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_military_sites.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.contaminated_military_sites.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'contaminated_military_sites'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.contaminated_military_sites.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.contaminated_military_sites.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/contaminated_public_transport_sites.py b/pyramid_oereb/standard/models/contaminated_public_transport_sites.py index fd0af2b91c..9a29012b6a 100644 --- a/pyramid_oereb/standard/models/contaminated_public_transport_sites.py +++ b/pyramid_oereb/standard/models/contaminated_public_transport_sites.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_public_transport_sites.Office """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_public_transport_sites.Office """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.contaminated_public_transport_sites.Document """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_public_transport_sites.ViewService """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_public_transport_sites.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_public_transport_sites.Office """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_public_transport_sites.Office """ __table_args__ = {'schema': 'contaminated_public_transport_sites'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'contaminated_public_transport_sites'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'contaminated_public_transport_sites'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_public_transport_sites.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.contaminated_public_transport_sites.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'contaminated_public_transport_sites'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.contaminated_public_transport_sites.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.contaminated_public_transport_sites.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/contaminated_sites.py b/pyramid_oereb/standard/models/contaminated_sites.py index aa8a7eae98..dcec081639 100644 --- a/pyramid_oereb/standard/models/contaminated_sites.py +++ b/pyramid_oereb/standard/models/contaminated_sites.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_sites.Office """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_sites.Office """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.contaminated_sites.Document """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_sites.ViewService """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.contaminated_sites.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_sites.Office """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.contaminated_sites.Office """ __table_args__ = {'schema': 'contaminated_sites'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'contaminated_sites'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'contaminated_sites'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.contaminated_sites.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.contaminated_sites.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'contaminated_sites'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.contaminated_sites.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.contaminated_sites.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/forest_distance_lines.py b/pyramid_oereb/standard/models/forest_distance_lines.py index 13f18989f9..8d8095e854 100644 --- a/pyramid_oereb/standard/models/forest_distance_lines.py +++ b/pyramid_oereb/standard/models/forest_distance_lines.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_distance_lines.Office """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_distance_lines.Office """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.forest_distance_lines.Document """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.forest_distance_lines.ViewService """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.forest_distance_lines.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_distance_lines.Office """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_distance_lines.Office """ __table_args__ = {'schema': 'forest_distance_lines'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'forest_distance_lines'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'forest_distance_lines'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_distance_lines.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.forest_distance_lines.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'forest_distance_lines'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.forest_distance_lines.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.forest_distance_lines.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/forest_perimeters.py b/pyramid_oereb/standard/models/forest_perimeters.py index b46b38a811..0c592fea18 100644 --- a/pyramid_oereb/standard/models/forest_perimeters.py +++ b/pyramid_oereb/standard/models/forest_perimeters.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_perimeters.Office """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_perimeters.Office """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.forest_perimeters.Document """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.forest_perimeters.ViewService """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.forest_perimeters.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_perimeters.Office """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.forest_perimeters.Office """ __table_args__ = {'schema': 'forest_perimeters'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'forest_perimeters'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'forest_perimeters'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.forest_perimeters.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.forest_perimeters.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'forest_perimeters'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.forest_perimeters.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.forest_perimeters.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/groundwater_protection_sites.py b/pyramid_oereb/standard/models/groundwater_protection_sites.py index 0466327a27..9e1d27a974 100644 --- a/pyramid_oereb/standard/models/groundwater_protection_sites.py +++ b/pyramid_oereb/standard/models/groundwater_protection_sites.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_sites.Office """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_sites.Office """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.groundwater_protection_sites.Document """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.groundwater_protection_sites.ViewService """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.groundwater_protection_sites.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_sites.Office """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_sites.Office """ __table_args__ = {'schema': 'groundwater_protection_sites'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'groundwater_protection_sites'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'groundwater_protection_sites'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_sites.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.groundwater_protection_sites.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'groundwater_protection_sites'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.groundwater_protection_sites.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.groundwater_protection_sites.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/groundwater_protection_zones.py b/pyramid_oereb/standard/models/groundwater_protection_zones.py index d5a3f71de6..f9a53d9bfc 100644 --- a/pyramid_oereb/standard/models/groundwater_protection_zones.py +++ b/pyramid_oereb/standard/models/groundwater_protection_zones.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_zones.Office """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_zones.Office """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.groundwater_protection_zones.Document """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.groundwater_protection_zones.ViewService """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.groundwater_protection_zones.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_zones.Office """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.groundwater_protection_zones.Office """ __table_args__ = {'schema': 'groundwater_protection_zones'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'groundwater_protection_zones'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'groundwater_protection_zones'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.groundwater_protection_zones.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.groundwater_protection_zones.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'groundwater_protection_zones'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.groundwater_protection_zones.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.groundwater_protection_zones.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/land_use_plans.py b/pyramid_oereb/standard/models/land_use_plans.py index 93a977071e..e814820c09 100644 --- a/pyramid_oereb/standard/models/land_use_plans.py +++ b/pyramid_oereb/standard/models/land_use_plans.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.land_use_plans.Office """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.land_use_plans.Office """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.land_use_plans.Document """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.land_use_plans.ViewService """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.land_use_plans.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.land_use_plans.Office """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is LINESTRING - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.land_use_plans.Office """ __table_args__ = {'schema': 'land_use_plans'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'land_use_plans'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'land_use_plans'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.land_use_plans.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.land_use_plans.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'land_use_plans'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.land_use_plans.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.land_use_plans.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/main.py b/pyramid_oereb/standard/models/main.py index 2f7e803810..0ece4a0622 100644 --- a/pyramid_oereb/standard/models/main.py +++ b/pyramid_oereb/standard/models/main.py @@ -65,7 +65,7 @@ class Municipality(Base): docs dependent on the configured type. This concrete one is MULTIPOLYGON - :vartype geom: Geometry + :vartype geom: geoalchemy2.types.Geometry """ __table_args__ = {'schema': app_schema_name} __tablename__ = 'municipality' @@ -114,7 +114,7 @@ class RealEstate(Base): docs dependent on the configured type. This concrete one is MULTIPOLYGON - :vartype limit: Geometry + :vartype limit: geoalchemy2.types.Geometry """ __table_args__ = {'schema': app_schema_name} __tablename__ = 'real_estate' @@ -151,7 +151,7 @@ class Address(Base): docs dependent on the configured type. This concrete one is POINT - :vartype geom: Geometry + :vartype geom: geoalchemy2.types.Geometry """ __table_args__ = ( sa.PrimaryKeyConstraint("street_name", "street_number", "zip_code"), diff --git a/pyramid_oereb/standard/models/motorways_building_lines.py b/pyramid_oereb/standard/models/motorways_building_lines.py index 11320fce67..10498a5f60 100644 --- a/pyramid_oereb/standard/models/motorways_building_lines.py +++ b/pyramid_oereb/standard/models/motorways_building_lines.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_building_lines.Office """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_building_lines.Office """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.motorways_building_lines.Document """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.motorways_building_lines.ViewService """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.motorways_building_lines.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_building_lines.Office """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is LINESTRING - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_building_lines.Office """ __table_args__ = {'schema': 'motorways_building_lines'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'motorways_building_lines'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'motorways_building_lines'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_building_lines.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.motorways_building_lines.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'motorways_building_lines'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.motorways_building_lines.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.motorways_building_lines.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/motorways_project_planing_zones.py b/pyramid_oereb/standard/models/motorways_project_planing_zones.py index 7487a282e0..da15dad37c 100644 --- a/pyramid_oereb/standard/models/motorways_project_planing_zones.py +++ b/pyramid_oereb/standard/models/motorways_project_planing_zones.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_project_planing_zones.Office """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_project_planing_zones.Office """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.motorways_project_planing_zones.Document """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.motorways_project_planing_zones.ViewService """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.motorways_project_planing_zones.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_project_planing_zones.Office """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is LINESTRING - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.motorways_project_planing_zones.Office """ __table_args__ = {'schema': 'motorways_project_planing_zones'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'motorways_project_planing_zones'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'motorways_project_planing_zones'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.motorways_project_planing_zones.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.motorways_project_planing_zones.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'motorways_project_planing_zones'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.motorways_project_planing_zones.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.motorways_project_planing_zones.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/noise_sensitivity_levels.py b/pyramid_oereb/standard/models/noise_sensitivity_levels.py index fb1ca6736a..cde8e25a4d 100644 --- a/pyramid_oereb/standard/models/noise_sensitivity_levels.py +++ b/pyramid_oereb/standard/models/noise_sensitivity_levels.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.noise_sensitivity_levels.Office """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.noise_sensitivity_levels.Office """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.noise_sensitivity_levels.Document """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.noise_sensitivity_levels.ViewService """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.noise_sensitivity_levels.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.noise_sensitivity_levels.Office """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.noise_sensitivity_levels.Office """ __table_args__ = {'schema': 'noise_sensitivity_levels'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'noise_sensitivity_levels'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'noise_sensitivity_levels'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.noise_sensitivity_levels.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.noise_sensitivity_levels.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'noise_sensitivity_levels'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.noise_sensitivity_levels.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.noise_sensitivity_levels.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/railways_building_lines.py b/pyramid_oereb/standard/models/railways_building_lines.py index 28a3e86810..88f335b3eb 100644 --- a/pyramid_oereb/standard/models/railways_building_lines.py +++ b/pyramid_oereb/standard/models/railways_building_lines.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_building_lines.Office """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_building_lines.Office """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.railways_building_lines.Document """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.railways_building_lines.ViewService """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.railways_building_lines.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_building_lines.Office """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is LINESTRING - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_building_lines.Office """ __table_args__ = {'schema': 'railways_building_lines'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'railways_building_lines'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'railways_building_lines'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_building_lines.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.railways_building_lines.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'railways_building_lines'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.railways_building_lines.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.railways_building_lines.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/models/railways_project_planning_zones.py b/pyramid_oereb/standard/models/railways_project_planning_zones.py index 8b926154b2..1ec31ddd6d 100644 --- a/pyramid_oereb/standard/models/railways_project_planning_zones.py +++ b/pyramid_oereb/standard/models/railways_project_planning_zones.py @@ -99,7 +99,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_project_planning_zones.Office """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'reference_definition' @@ -172,7 +172,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_project_planning_zones.Office """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'document' @@ -215,7 +215,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.railways_project_planning_zones.Document """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'article' @@ -315,7 +315,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.railways_project_planning_zones.ViewService """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'legend_entry' @@ -370,11 +370,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.railways_project_planning_zones.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_project_planning_zones.Office """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'public_law_restriction' @@ -426,17 +426,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is POLYGON - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.railways_project_planning_zones.Office """ __table_args__ = {'schema': 'railways_project_planning_zones'} __tablename__ = 'geometry' @@ -478,10 +478,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': 'railways_project_planning_zones'} @@ -523,10 +523,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': 'railways_project_planning_zones'} @@ -565,9 +565,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.railways_project_planning_zones.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.railways_project_planning_zones.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': 'railways_project_planning_zones'} @@ -605,10 +605,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.railways_project_planning_zones.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.railways_project_planning_zones.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str diff --git a/pyramid_oereb/standard/templates/plr.py.mako b/pyramid_oereb/standard/templates/plr.py.mako index fb0b8c3a86..36efc0f320 100644 --- a/pyramid_oereb/standard/templates/plr.py.mako +++ b/pyramid_oereb/standard/templates/plr.py.mako @@ -100,7 +100,7 @@ class ReferenceDefinition(Base): # TODO: Check translation :var office_id: The foreign key constraint which the definition is related to. :vartype office_id: int :var office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.${schema_name}.Office """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'reference_definition' @@ -173,7 +173,7 @@ class Document(DocumentBase): :var office_id: The foreign key to the office which is in charge for this document. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.${schema_name}.Office """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'document' @@ -216,7 +216,7 @@ class Article(DocumentBase): :var document_id: The foreign key to the document this article is taken from. :vartype document_id: int :var document: The dedicated relation to the document instance from database. - :vartype document_id: Document + :vartype document_id: pyramid_oereb.standard.models.${schema_name}.Document """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'article' @@ -316,7 +316,7 @@ class LegendEntry(Base): :var view_service_id: The foreign key to the view service this legend entry is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.${schema_name}.ViewService """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'legend_entry' @@ -371,11 +371,11 @@ class PublicLawRestriction(Base): :var view_service_id: The foreign key to the view service this public law restriction is related to. :vartype view_service_id: int :var view_service: The dedicated relation to the view service instance from database. - :vartype view_service: ViewService + :vartype view_service: pyramid_oereb.standard.models.${schema_name}.ViewService :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.${schema_name}.Office """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'public_law_restriction' @@ -427,17 +427,17 @@ class Geometry(Base): docs dependent on the configured type. This concrete one is ${geometry_type} - :vartype geom: GeoAlchemyGeometry + :vartype geom: geoalchemy2.types.Geometry :var public_law_restriction_id: The foreign key to the public law restriction this geometry is related to. :vartype public_law_restriction_id: int :var public_law_restriction: The dedicated relation to the public law restriction instance from database. - :vartype public_law_restriction: PublicLawRestriction + :vartype public_law_restriction: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction :var office_id: The foreign key to the office which is responsible to this public law restriction. :vartype office_id: int :var responsible_office: The dedicated relation to the office instance from database. - :vartype responsible_office: Office + :vartype responsible_office: pyramid_oereb.standard.models.${schema_name}.Office """ __table_args__ = {'schema': '${schema_name}'} __tablename__ = 'geometry' @@ -479,10 +479,10 @@ class PublicLawRestrictionBase(Base): :vartype public_law_restriction_base_id: int :var plr: The dedicated relation to the public law restriction (which bases on) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is the base) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction """ __tablename__ = 'public_law_restriction_base' __table_args__ = {'schema': '${schema_name}'} @@ -524,10 +524,10 @@ class PublicLawRestrictionRefinement(Base): :vartype public_law_restriction_refinement_id: int :var plr: The dedicated relation to the public law restriction (which refines) instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction :var base: The dedicated relation to the public law restriction (which is refined) instance from database. - :vartype base: PublicLawRestriction + :vartype base: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction """ __tablename__ = 'public_law_restriction_refinement' __table_args__ = {'schema': '${schema_name}'} @@ -566,9 +566,9 @@ class PublicLawRestrictionDocument(Base): :var document_id: The foreign key to the document which has relation to the public law restriction. :vartype document_id: int :var plr: The dedicated relation to the public law restriction instance from database. - :vartype plr: PublicLawRestriction + :vartype plr: pyramid_oereb.standard.models.${schema_name}.PublicLawRestriction :var document: The dedicated relation to the document instance from database. - :vartype document: DocumentBase + :vartype document: pyramid_oereb.standard.models.${schema_name}.DocumentBase """ __tablename__ = 'public_law_restriction_document' __table_args__ = {'schema': '${schema_name}'} @@ -606,10 +606,10 @@ class DocumentReference(Base): :var reference_document_id: The foreign key to the document which is referenced. :vartype reference_document_id: int :var document: The dedicated relation to the document (which references) instance from database. - :vartype document: Document + :vartype document: pyramid_oereb.standard.models.${schema_name}.Document :var referenced_document: The dedicated relation to the document (which is referenced) instance from database. - :vartype referenced_document: Document + :vartype referenced_document: pyramid_oereb.standard.models.${schema_name}.Document :var article_numbers: A colon of article numbers which clarify the reference. This is a string separated by '|'. :vartype article_numbers: str