@@ -168,11 +168,8 @@ def deserialize_ryhti_geometry(self, geometry: RyhtiGeometry) -> WKBElement:
168168 raise ValueError (
169169 f"Unsupported SRID: { geometry .srid } , expected: { PROJECT_SRID } "
170170 )
171- print (f"{ geometry = } " )
172171 json = geometry .geometry .model_dump_json ()
173- print (f"{ json = } " )
174172 shape = from_geojson (json )
175- print (f"{ shape = } " )
176173
177174 multi_shape = self .convert_to_multi_geom (shape )
178175 return from_shape (multi_shape , srid = int (geometry .srid ))
@@ -240,7 +237,7 @@ def form_value_dict(self, value: RyhtiAttributeValue | None) -> dict[str, Any]:
240237 "unit" : value .unit_of_measure ,
241238 }
242239 elif data_type is AttributeValueDataType .IDENTIFIER :
243- pass # TODO implement identifier values
240+ pass # TODO: implement identifier values
244241 elif data_type == AttributeValueDataType .LOCALIZED_TEXT :
245242 value = cast ("LocalizedTextValue" , value )
246243 database_field_values = {
@@ -380,7 +377,7 @@ def deserialize_recommendation(
380377
381378 def deserialize_plan_regulation_group (
382379 self , regulation_group : RyhtiPlanRegulationGroup
383- ):
380+ ) -> PlanRegulationGroup :
384381 """Deserializes a RyhtiPlanRegulationGroup into a PlanRegulationGroup SQLAlchemy model instance.
385382
386383 "planRegulationGroupKey", ✅
0 commit comments