From a727dab6adca9e7072a2ce29535bced8678b6a8c Mon Sep 17 00:00:00 2001 From: Mike Knepper Date: Fri, 21 Jul 2023 10:36:49 -0500 Subject: [PATCH] Re-add source_ prefix to archived source files --- src/gretel_trainer/relational/multi_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gretel_trainer/relational/multi_table.py b/src/gretel_trainer/relational/multi_table.py index 7f9249fb..ca6cd753 100644 --- a/src/gretel_trainer/relational/multi_table.py +++ b/src/gretel_trainer/relational/multi_table.py @@ -924,7 +924,7 @@ def _upload_sources_to_project(self) -> None: for table in self.relational_data.list_all_tables(Scope.ALL): source_path = Path(self.relational_data.get_table_source(table)) filename = source_path.name - tar.add(source_path, arcname=filename) + tar.add(source_path, arcname=f"source_{filename}") self._artifact_collection.upload_source_archive( self._project, str(archive_path) )