diff --git a/singer_sdk/tap_base.py b/singer_sdk/tap_base.py index 8f4f59e27..75f1b481e 100644 --- a/singer_sdk/tap_base.py +++ b/singer_sdk/tap_base.py @@ -378,6 +378,10 @@ def sync_all(self) -> None: stream.sync() stream.finalize_state_progress_markers() + + # this second loop is needed for all streams to print out their costs + # including child streams which are otherwise skipped in the loop above + for stream in self.streams.values(): stream.log_sync_costs() # Command Line Execution