Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flask-covid19
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Wöhlke
flask-covid19
Commits
7bee482b
Commit
7bee482b
authored
3 years ago
by
thomaswoehlke
Browse files
Options
Downloads
Patches
Plain Diff
working on: 0.0.33 Release
parent
c981c526
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
data
+1
-1
1 addition, 1 deletion
data
src/covid19/blueprints/owid/owid_service.py
+5
-1
5 additions, 1 deletion
src/covid19/blueprints/owid/owid_service.py
src/covid19/blueprints/owid/owid_views.py
+1
-1
1 addition, 1 deletion
src/covid19/blueprints/owid/owid_views.py
with
7 additions
and
3 deletions
data
@
aa20139e
Compare
4fd80e67
...
aa20139e
Subproject commit
4fd80e6719b3e74d26f9d16fa980b9a98226c7f0
Subproject commit
aa20139ee2de80c9dbb2c9512b47dd50aa3e776e
This diff is collapsed.
Click to expand it.
src/covid19/blueprints/owid/owid_service.py
+
5
−
1
View file @
7bee482b
...
@@ -45,10 +45,14 @@ class OwidService:
...
@@ -45,10 +45,14 @@ class OwidService:
app
.
logger
.
info
(
"
OwidService.task_database_drop_create done
"
)
app
.
logger
.
info
(
"
OwidService.task_database_drop_create done
"
)
return
self
return
self
def
run_download
_only
(
self
):
def
run_download
(
self
):
self
.
service_download
.
download_file
()
self
.
service_download
.
download_file
()
return
self
return
self
def
run_import
(
self
):
self
.
service_import
.
import_file
()
return
self
def
task_admin_import_all_files
(
self
):
def
task_admin_import_all_files
(
self
):
self
.
service_import
.
import_file
()
self
.
service_import
.
import_file
()
return
self
return
self
...
...
This diff is collapsed.
Click to expand it.
src/covid19/blueprints/owid/owid_views.py
+
1
−
1
View file @
7bee482b
...
@@ -460,7 +460,7 @@ def task_owid_import(self):
...
@@ -460,7 +460,7 @@ def task_owid_import(self):
logger
.
info
(
"
------------------------------------------------------------
"
)
logger
.
info
(
"
------------------------------------------------------------
"
)
logger
.
info
(
"
Received: task_owid_import_only [OK]
"
)
logger
.
info
(
"
Received: task_owid_import_only [OK]
"
)
logger
.
info
(
"
------------------------------------------------------------
"
)
logger
.
info
(
"
------------------------------------------------------------
"
)
owid_service
.
run_import
_only
()
owid_service
.
run_import
()
self
.
update_state
(
state
=
states
.
SUCCESS
)
self
.
update_state
(
state
=
states
.
SUCCESS
)
result
=
"
OK (task_owid_import_only)
"
result
=
"
OK (task_owid_import_only)
"
return
result
return
result
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment