Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Transkribus API client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Arkindex
Transkribus API client
Merge requests
!52
pre-commit updates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
pre-commit updates
pre-commit-updates
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Erwan Rouchet
requested to merge
pre-commit-updates
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
Fixes the not-so-fun
click._unicodefun
bug with black.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8b8735e8
1 commit,
2 years ago
2 files
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
transkribus/models.py
+
1
−
1
Options
@@ -244,7 +244,7 @@ class Job(Model):
downloaded
,
last_percent
=
0
,
0
with
open
(
destination
,
"
wb
"
)
as
f
:
# Save the file in 1MB chunks
for
chunk
in
resp
.
iter_content
(
chunk_size
=
1024
**
2
):
for
chunk
in
resp
.
iter_content
(
chunk_size
=
1024
**
2
):
f
.
write
(
chunk
)
downloaded
+=
len
(
chunk
)
Loading