xmas-app 0.13.0__tar.gz → 0.13.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {xmas_app-0.13.0 → xmas_app-0.13.1}/PKG-INFO +1 -1
  2. {xmas_app-0.13.0 → xmas_app-0.13.1}/pyproject.toml +1 -1
  3. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/services/crud.py +3 -2
  4. {xmas_app-0.13.0 → xmas_app-0.13.1}/LICENSE +0 -0
  5. {xmas_app-0.13.0 → xmas_app-0.13.1}/README.md +0 -0
  6. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/components/__init__.py +0 -0
  7. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/components/association.py +0 -0
  8. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/components/buttons.py +0 -0
  9. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/components/label.py +0 -0
  10. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/db.py +0 -0
  11. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/db_uow.py +0 -0
  12. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/deps/version_guard.py +0 -0
  13. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/form.py +0 -0
  14. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/main.py +0 -0
  15. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/models/crud.py +0 -0
  16. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/models/mappings.py +0 -0
  17. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/pygeoapi/config.yaml +0 -0
  18. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/pygeoapi/openapi.yaml +0 -0
  19. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/pygeoapi/provider.py +0 -0
  20. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/resources/mappings.toml +0 -0
  21. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/schema.py +0 -0
  22. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/settings.py +0 -0
  23. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/split_service.py +0 -0
  24. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/util/__init__.py +0 -0
  25. {xmas_app-0.13.0 → xmas_app-0.13.1}/xmas_app/util/codelist.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xmas-app
3
- Version: 0.13.0
3
+ Version: 0.13.1
4
4
  Summary: The XLeitstelle model-driven application schema app.
5
5
  License: EUPL-1.2-or-later
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "xmas-app"
3
- version = "0.13.0"
3
+ version = "0.13.1"
4
4
  description = "The XLeitstelle model-driven application schema app."
5
5
  authors = [{ name = "Tobias Kraft", email = "tobias.kraft@gv.hamburg.de" }]
6
6
  classifiers = [
@@ -37,9 +37,11 @@ async def create(payload: InsertPayload, plan_id: str):
37
37
  if item.geometry:
38
38
  properties[geom_field] = item.geometry
39
39
  feature = featuretype.model_validate(properties)
40
+ features.append(feature)
41
+ # if feature has geom_field, i.e. it's not a text feature, continue
40
42
  if geom_field:
41
43
  continue
42
- # add unidirectional reference from corresponding plan to text feature
44
+ # else add unidirectional reference from corresponding plan to text feature
43
45
  try:
44
46
  plan = get_settings().repo.get(plan_id)
45
47
  except Exception as e:
@@ -61,7 +63,6 @@ async def create(payload: InsertPayload, plan_id: str):
61
63
  break
62
64
  feature_updates.append(plan)
63
65
 
64
- features.append(feature)
65
66
  except ValidationError as e:
66
67
  errors.append(e.errors())
67
68
  if errors:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes