OpenGeodeWeb-Back 5.0.0rc1__py3-none-any.whl → 5.1.0rc1__py3-none-any.whl
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.
- {OpenGeodeWeb_Back-5.0.0rc1.dist-info → OpenGeodeWeb_Back-5.1.0rc1.dist-info}/METADATA +1 -1
- {OpenGeodeWeb_Back-5.0.0rc1.dist-info → OpenGeodeWeb_Back-5.1.0rc1.dist-info}/RECORD +6 -6
- {OpenGeodeWeb_Back-5.0.0rc1.dist-info → OpenGeodeWeb_Back-5.1.0rc1.dist-info}/WHEEL +1 -1
- opengeodeweb_back/utils_functions.py +9 -0
- {OpenGeodeWeb_Back-5.0.0rc1.dist-info → OpenGeodeWeb_Back-5.1.0rc1.dist-info}/LICENSE +0 -0
- {OpenGeodeWeb_Back-5.0.0rc1.dist-info → OpenGeodeWeb_Back-5.1.0rc1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: OpenGeodeWeb-Back
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.1.0rc1
|
4
4
|
Summary: OpenGeodeWeb-Back is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/OpenGeodeWeb-Back
|
@@ -2,7 +2,7 @@ opengeodeweb_back/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
2
2
|
opengeodeweb_back/app_config.py,sha256=bgn31kmMUhn6PwqpENPPQfsRsuXqnYgqMaV0_OoenDw,721
|
3
3
|
opengeodeweb_back/geode_functions.py,sha256=m1icB_E9SctF6LFoUDLxE0WseDy6wc1qNV6KeuBeEGo,8716
|
4
4
|
opengeodeweb_back/geode_objects.py,sha256=8UMBmghw6aoJ4YdgzaRYdMInhPz_e7zfisP7xFIQyJo,20290
|
5
|
-
opengeodeweb_back/utils_functions.py,sha256=
|
5
|
+
opengeodeweb_back/utils_functions.py,sha256=18kp8M3bnrlu692qj-ymJJPA1hTpPjx_xl9oVi5qGyg,4120
|
6
6
|
opengeodeweb_back/routes/blueprint_routes.py,sha256=X_VF8pfxxci8Ek37uLjIDJTh9ItNiufd52hoBfbi9q8,8596
|
7
7
|
opengeodeweb_back/routes/schemas/allowed_files.json,sha256=pRsGf39LiJpl3zEGLg4IqvRtm7iUx3Wq4Tb4tSFXGV0,234
|
8
8
|
opengeodeweb_back/routes/schemas/allowed_objects.json,sha256=8JLtAI46eXeiJuiryS2geRVv0J1rGkFb87pRwtBZSZw,296
|
@@ -13,8 +13,8 @@ opengeodeweb_back/routes/schemas/missing_files.json,sha256=tJVdSM3CqYFZRC6eNW6Q3
|
|
13
13
|
opengeodeweb_back/routes/schemas/ping.json,sha256=MhI5jtrjMsAsfIKEzdY8p1HyV9xv4O3hYfESWw6tkyE,162
|
14
14
|
opengeodeweb_back/routes/schemas/save_viewable_file.json,sha256=7BXO8vsQrmqyEQ2uycm2Ift_EY7a0KocvnGEjYrQFcQ,368
|
15
15
|
opengeodeweb_back/routes/schemas/upload_file.json,sha256=sE6bxz3mJbSZlGmrnR_hZmcx0dvZGn3Wpnn6szRPxXQ,186
|
16
|
-
OpenGeodeWeb_Back-5.
|
17
|
-
OpenGeodeWeb_Back-5.
|
18
|
-
OpenGeodeWeb_Back-5.
|
19
|
-
OpenGeodeWeb_Back-5.
|
20
|
-
OpenGeodeWeb_Back-5.
|
16
|
+
OpenGeodeWeb_Back-5.1.0rc1.dist-info/LICENSE,sha256=LoTB-aqQvzTGxoTRXNnhNV0LKiqdk2bQv6MB34l8zkI,1079
|
17
|
+
OpenGeodeWeb_Back-5.1.0rc1.dist-info/METADATA,sha256=8tkKYD1Ro4b_YFP6-XNSVxq0oA_9p4BN8npmcK-_-RE,3083
|
18
|
+
OpenGeodeWeb_Back-5.1.0rc1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
19
|
+
OpenGeodeWeb_Back-5.1.0rc1.dist-info/top_level.txt,sha256=tN1FZeLIVBrdja2-pbmhg5-tK-JILmmT9OeIBnhlUrQ,18
|
20
|
+
OpenGeodeWeb_Back-5.1.0rc1.dist-info/RECORD,,
|
@@ -33,6 +33,15 @@ def update_last_request_time(current_app):
|
|
33
33
|
current_app.config.update(LAST_REQUEST_TIME=LAST_REQUEST_TIME)
|
34
34
|
|
35
35
|
|
36
|
+
def before_request(current_app):
|
37
|
+
increment_request_counter(current_app)
|
38
|
+
|
39
|
+
|
40
|
+
def teardown_request(current_app):
|
41
|
+
decrement_request_counter(current_app)
|
42
|
+
update_last_request_time(current_app)
|
43
|
+
|
44
|
+
|
36
45
|
def kill_task(current_app):
|
37
46
|
DESKTOP_APP = bool(current_app.config.get("DESKTOP_APP"))
|
38
47
|
REQUEST_COUNTER = int(current_app.config.get("REQUEST_COUNTER"))
|
File without changes
|
File without changes
|