Skip to content
Snippets Groups Projects
Commit 4c432adf authored by vlorentz's avatar vlorentz
Browse files

luigi: Read meta/export.json instead of relying on stamp files

Stamp files are only useful while building, and not copied to and from S3,
so the check failed after a round-trip through S3.
parent d391394e
No related branches found
No related tags found
No related merge requests found
......@@ -271,8 +271,13 @@ class ExportGraph(luigi.Task):
)
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 [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment