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
f271d280
Commit
f271d280
authored
3 years ago
by
thomaswoehlke
Browse files
Options
Downloads
Patches
Plain Diff
work
parent
c8bbe1a4
No related branches found
No related tags found
1 merge request
!162
Refactoring 2021 05 20 start
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data
+1
-1
1 addition, 1 deletion
data
src/flask_covid19/blueprints/data_rki/rki_service_import.py
+2
-2
2 additions, 2 deletions
src/flask_covid19/blueprints/data_rki/rki_service_import.py
with
3 additions
and
3 deletions
data
@
0996f5d2
Compare
ea7e4d42
...
0996f5d2
Subproject commit
ea7e4d42f262dbedd3305479b8e58b167674c40a
Subproject commit
0996f5d2122468fdcab368abd2175701b2307bbf
This diff is collapsed.
Click to expand it.
src/flask_covid19/blueprints/data_rki/rki_service_import.py
+
2
−
2
View file @
f271d280
...
@@ -101,8 +101,8 @@ class RkiServiceImport:
...
@@ -101,8 +101,8 @@ class RkiServiceImport:
if
(
k
%
2000
)
==
0
:
if
(
k
%
2000
)
==
0
:
db
.
session
.
commit
()
db
.
session
.
commit
()
app
.
logger
.
info
(
"
import RKI ...
"
+
str
(
k
)
+
"
rows
"
)
app
.
logger
.
info
(
"
import RKI ...
"
+
str
(
k
)
+
"
rows
"
)
if
k
==
200000
:
#
if k == 200000:
break
#
break
db
.
session
.
commit
()
db
.
session
.
commit
()
app
.
logger
.
info
(
"
import RKI ...
"
+
str
(
k
)
+
"
rows total
"
)
app
.
logger
.
info
(
"
import RKI ...
"
+
str
(
k
)
+
"
rows total
"
)
except
KeyError
as
error
:
except
KeyError
as
error
:
...
...
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