xmas-app 0.15.0__tar.gz → 0.15.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.
- {xmas_app-0.15.0 → xmas_app-0.15.1}/PKG-INFO +1 -1
- {xmas_app-0.15.0 → xmas_app-0.15.1}/pyproject.toml +1 -1
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/main.py +9 -8
- {xmas_app-0.15.0 → xmas_app-0.15.1}/LICENSE +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/README.md +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/components/__init__.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/components/association.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/components/buttons.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/components/label.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/deps/version_guard.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/form.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/models/__init__.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/models/crud.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/models/mappings.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/models/split.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pages/__init__.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pages/base.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pages/planmanager.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pygeoapi/config.yaml +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pygeoapi/openapi.yaml +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/pygeoapi/provider.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/resources/mappings.toml +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/services/__init__.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/services/crud.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/services/split.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/settings.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/util/__init__.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/util/codelist.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/util/db.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/util/db_uow.py +0 -0
- {xmas_app-0.15.0 → xmas_app-0.15.1}/xmas_app/util/get_models.py +0 -0
|
@@ -532,15 +532,16 @@ async def feature(
|
|
|
532
532
|
feature = feature | properties
|
|
533
533
|
if isinstance(geometry := qgis_feature.get("geometry"), dict):
|
|
534
534
|
feature["geometry"] = geometry
|
|
535
|
-
|
|
536
|
-
model_select,
|
|
537
|
-
qgis_feature.get("geometry", {}).get("wkt", None) if qgis else None,
|
|
538
|
-
featuretypeRegex,
|
|
539
|
-
appschema,
|
|
540
|
-
version,
|
|
541
|
-
)
|
|
542
|
-
if feature_type and not model_select.value:
|
|
535
|
+
if feature_type:
|
|
543
536
|
await add_form(feature_type, feature)
|
|
537
|
+
else:
|
|
538
|
+
await get_model_for_select(
|
|
539
|
+
model_select,
|
|
540
|
+
qgis_feature.get("geometry", {}).get("wkt", None) if qgis else None,
|
|
541
|
+
featuretypeRegex,
|
|
542
|
+
appschema,
|
|
543
|
+
version,
|
|
544
|
+
)
|
|
544
545
|
|
|
545
546
|
|
|
546
547
|
@app.get("/health_check")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|