Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066286
D3581.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
705 B
Subscribers
None
D3581.id.diff
View Options
diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1,2 +1,2 @@
swh.core[db,http] >= 0.0.65
-swh.storage >= 0.0.182
+swh.storage >= 0.11.1
diff --git a/swh/scheduler/cli/task.py b/swh/scheduler/cli/task.py
--- a/swh/scheduler/cli/task.py
+++ b/swh/scheduler/cli/task.py
@@ -346,7 +346,7 @@
raise click.ClickException("Only keywords arguments are allowed.")
origins = iter_origins(storage, origin_from=min_id, origin_to=max_id)
- origin_urls = (origin["url"] for origin in origins)
+ origin_urls = (origin.url for origin in origins)
schedule_origin_batches(scheduler, type, origin_urls, origin_batch_size, kw)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 5:21 AM (8 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224385
Attached To
D3581: cli.task: Fix iter_origin returned types
Event Timeline
Log In to Comment