Skip to content

Commit 7d31dab

Browse files
Merge pull request #64 from Geode-solutions/fix/update_ecosystem
Fix/update ecosystem
2 parents e9a999c + 5733a4d commit 7d31dab

File tree

10 files changed

+49
-65
lines changed

10 files changed

+49
-65
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
""" Packages """
2+
23
import os
34

45
import flask

config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
""" Flask configuration """
2+
23
import os
34

45

requirements.txt

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.10
2+
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
55
# pip-compile requirements.in
@@ -14,18 +14,20 @@ blinker==1.7.0
1414
# via flask
1515
click==8.1.7
1616
# via flask
17-
flask[async]==3.0.0
17+
colorama==0.4.6
18+
# via click
19+
flask[async]==3.0.1
1820
# via
1921
# -r requirements.in
2022
# flask-cors
2123
flask-cors==4.0.0
2224
# via -r requirements.in
23-
geode-background==7.6.1
25+
geode-background==7.7.0
2426
# via
2527
# geode-explicit
2628
# geode-implicit
2729
# geode-simplex
28-
geode-common==30.0.12
30+
geode-common==30.1.1
2931
# via
3032
# -r requirements.in
3133
# geode-background
@@ -34,38 +36,40 @@ geode-common==30.0.12
3436
# geode-numerics
3537
# geode-simplex
3638
# geode-viewables
37-
geode-conversion==5.1.8
39+
geode-conversion==5.2.0
3840
# via
3941
# geode-explicit
4042
# geode-implicit
41-
geode-explicit==4.3.11
43+
geode-explicit==4.4.1
4244
# via
4345
# -r requirements.in
4446
# geode-implicit
45-
geode-implicit==2.5.5
47+
geode-implicit==2.6.0
4648
# via -r requirements.in
47-
geode-numerics==4.2.5
49+
geode-numerics==4.3.0
4850
# via
4951
# -r requirements.in
5052
# geode-implicit
5153
# geode-simplex
52-
geode-simplex==6.3.4
54+
geode-simplex==6.5.0
5355
# via -r requirements.in
5456
geode-viewables==2.2.0
5557
# via -r requirements.in
58+
importlib-metadata==7.0.1
59+
# via flask
5660
itsdangerous==2.1.2
5761
# via flask
5862
jinja2==3.1.3
5963
# via flask
60-
jsonschema==4.21.0
64+
jsonschema==4.21.1
6165
# via -r requirements.in
6266
jsonschema-specifications==2023.12.1
6367
# via jsonschema
64-
markupsafe==2.1.3
68+
markupsafe==2.1.4
6569
# via
6670
# jinja2
6771
# werkzeug
68-
opengeode-core==14.12.1
72+
opengeode-core==14.13.1
6973
# via
7074
# -r requirements.in
7175
# geode-background
@@ -80,27 +84,28 @@ opengeode-core==14.12.1
8084
# opengeode-geosciencesio
8185
# opengeode-inspector
8286
# opengeode-io
83-
opengeode-geosciences==7.3.4
87+
opengeode-geosciences==7.4.0
8488
# via
8589
# -r requirements.in
8690
# geode-implicit
8791
# geode-viewables
8892
# opengeode-geosciencesio
89-
opengeode-geosciencesio==4.5.5
93+
opengeode-geosciencesio==4.6.0
9094
# via
9195
# -r requirements.in
9296
# geode-implicit
93-
opengeode-inspector==4.0.5
97+
opengeode-inspector==4.0.6
9498
# via
9599
# -r requirements.in
96100
# geode-explicit
97101
# geode-implicit
98-
opengeode-io==6.3.0
102+
opengeode-io==6.4.0
99103
# via
100104
# -r requirements.in
101105
# geode-implicit
102106
# geode-viewables
103-
referencing==0.32.1
107+
# opengeode-geosciencesio
108+
referencing==0.33.0
104109
# via
105110
# jsonschema
106111
# jsonschema-specifications
@@ -114,3 +119,5 @@ werkzeug==3.0.1
114119
# via
115120
# -r requirements.in
116121
# flask
122+
zipp==3.17.0
123+
# via importlib-metadata

src/opengeodeweb_back/inspector_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ def json_return(Result_list: list):
1313
for result in Result_list:
1414
json_temp = {
1515
"value": result.value,
16-
"children": result.children
17-
if result.is_leaf
18-
else json_return(result.children),
16+
"children": (
17+
result.children if result.is_leaf else json_return(result.children)
18+
),
1919
"is_leaf": result.is_leaf,
2020
"route": result.route,
2121
"sentence": result.sentence if result.sentence != None else result.route,
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
{
2-
"$id": "/allowed_files",
32
"route": "/allowed_files",
4-
"methods": [
5-
"POST"
6-
],
3+
"methods": ["POST"],
74
"type": "object",
85
"properties": {
96
"key": {
10-
"type": [
11-
"string",
12-
"null"
13-
]
7+
"type": ["string", "null"]
148
}
159
},
16-
"required": [
17-
"key"
18-
],
10+
"required": ["key"],
1911
"additionalProperties": false
20-
}
12+
}

src/opengeodeweb_back/routes/schemas/allowed_objects.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$id": "/tools/allowed_objects",
32
"route": "/allowed_objects",
43
"methods": ["POST"],
54
"type": "object",
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
2-
"$id": "/tools/geode_objects_and_output_extensions",
32
"route": "/geode_objects_and_output_extensions",
4-
"methods": [
5-
"POST"
6-
],
3+
"methods": ["POST"],
74
"type": "object",
85
"properties": {
96
"input_geode_object": {
@@ -13,9 +10,6 @@
1310
"type": "string"
1411
}
1512
},
16-
"required": [
17-
"input_geode_object",
18-
"filename"
19-
],
13+
"required": ["input_geode_object", "filename"],
2014
"additionalProperties": false
21-
}
15+
}
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
{
2-
"$id": "/tools/geographic_coordinate_systems",
32
"route": "/geographic_coordinate_systems",
4-
"methods": [
5-
"POST"
6-
],
3+
"methods": ["POST"],
74
"type": "object",
85
"properties": {
96
"input_geode_object": {
107
"type": "string"
118
}
129
},
13-
"required": [
14-
"input_geode_object"
15-
],
10+
"required": ["input_geode_object"],
1611
"additionalProperties": false
17-
}
12+
}

src/opengeodeweb_back/routes/schemas/missing_files.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$id": "/tools/missing_files",
32
"route": "/missing_files",
43
"methods": ["POST"],
54
"type": "object",
Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
2-
"$id": "/tools/upload_file",
3-
"route": "/upload_file",
4-
"methods": [
5-
"OPTIONS",
6-
"PUT"
7-
],
8-
"type": "object",
9-
"properties": {
10-
"filename": {
11-
"type": "string"
12-
}
13-
},
14-
"additionalProperties": false
15-
}
2+
"route": "/upload_file",
3+
"methods": ["OPTIONS", "PUT"],
4+
"type": "object",
5+
"properties": {
6+
"filename": {
7+
"type": "string"
8+
}
9+
},
10+
"additionalProperties": false
11+
}

0 commit comments

Comments
 (0)