Skip to content

Commit 0e82d14

Browse files
committed
rm ValueError
1 parent e3a9444 commit 0e82d14

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile --output-file=./requirements.txt ./requirements.in
5+
# pip-compile --cert=None --client-cert=None --index-url=None --pip-args=None requirements.in
66
#
77
asgiref==3.10.0
88
# via flask
@@ -59,5 +59,3 @@ werkzeug==3.1.2
5959
# -r requirements.in
6060
# flask
6161
# flask-cors
62-
63-
opengeodeweb-microservice==1.*,>=1.0.5rc1

src/opengeodeweb_back/routes/create/blueprint_create.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ def create_point() -> flask.Response:
6666
data=pointset,
6767
)
6868
result["name"] = name
69-
if "binary_light_viewable" not in result:
70-
raise ValueError("binary_light_viewable is missing in the result")
7169
return flask.make_response(result, 200)
7270

7371

@@ -116,6 +114,4 @@ def create_aoi() -> flask.Response:
116114
data=edged_curve,
117115
)
118116
result["name"] = name
119-
if "binary_light_viewable" not in result:
120-
raise ValueError("binary_light_viewable is missing in the result")
121117
return flask.make_response(result, 200)

0 commit comments

Comments
 (0)