Skip to content

Commit

Permalink
xcom obj
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Feb 12, 2024
1 parent af1e116 commit e69dd77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/domino/base_piece.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ def run_piece_function(

# Push XCom
xcom_obj = self.format_xcom(output_obj=output_obj)
self._storage_size_in_bytes = self._get_folder_size(base_results_path)
xcom_obj['_storage_size_in_bytes'] = self._storage_size_in_bytes
self.push_xcom(xcom_obj=xcom_obj)
base_results_path = f"{self.workflow_shared_storage_path}/{self.task_id}"
self._storage_size_in_bytes = self._get_folder_size(base_results_path)
Expand Down

0 comments on commit e69dd77

Please sign in to comment.