We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11c23d commit ebbe0e8Copy full SHA for ebbe0e8
src/opengeodeweb_back/geode_functions.py
@@ -243,16 +243,10 @@ def validate_request(request, schema):
243
json_data = {}
244
245
try:
246
- print(f"{schema=}", flush=True)
247
validate(instance=json_data, schema=schema)
248
except ValidationError as e:
249
flask.abort(400, f"Validation error: {e.message}")
250
251
- required_keys = schema.get("required", [])
252
- for variable in required_keys:
253
- if variable not in json_data.keys():
254
- flask.abort(400, f"No {variable} sent")
255
-
256
257
def geographic_coordinate_systems(geode_object: str):
258
if is_3D(geode_object):
0 commit comments