Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7437737
D8963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
603 B
Subscribers
None
D8963.diff
View Options
diff --git a/swh/dataset/luigi.py b/swh/dataset/luigi.py
--- a/swh/dataset/luigi.py
+++ b/swh/dataset/luigi.py
@@ -271,8 +271,13 @@
)
def output(self) -> List[luigi.Target]:
- """Returns stamp and meta paths on the local FS."""
- return self._stamps() + [self._meta()]
+ """Returns path of `meta/export.json` on the local FS."""
+ return [self._meta()]
+
+ def complete(self) -> bool:
+ return super().complete() and _export_metadata_has_object_types(
+ self._meta(), self.object_types
+ )
def _stamps(self):
return [
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 14, 3:36 AM (14 h, 39 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3213811
Attached To
D8963: luigi: Read meta/export.json instead of relying on stamp files
Event Timeline
Log In to Comment