@@ -5744,7 +5744,9 @@ def _create_run(
57445744
57455745 log_entry = LogsSchema (
57465746 uri = pipeline_run .logs .uri ,
5747- source = pipeline_run .logs .source ,
5747+ # TODO: Remove fallback when not supporting
5748+ # clients <0.84.0 anymore
5749+ source = pipeline_run .logs .source or "client" ,
57485750 pipeline_run_id = new_run .id ,
57495751 artifact_store_id = pipeline_run .logs .artifact_store_id ,
57505752 )
@@ -6152,7 +6154,9 @@ def update_run(
61526154 # Create the log entry
61536155 log_entry = LogsSchema (
61546156 uri = log_request .uri ,
6155- source = log_request .source ,
6157+ # TODO: Remove fallback when not supporting
6158+ # clients <0.84.0 anymore
6159+ source = log_request .source or "orchestrator" ,
61566160 pipeline_run_id = existing_run .id ,
61576161 artifact_store_id = log_request .artifact_store_id ,
61586162 )
@@ -9041,7 +9045,9 @@ def create_run_step(self, step_run: StepRunRequest) -> StepRunResponse:
90419045
90429046 log_entry = LogsSchema (
90439047 uri = step_run .logs .uri ,
9044- source = step_run .logs .source ,
9048+ # TODO: Remove fallback when not supporting
9049+ # clients <0.84.0 anymore
9050+ source = step_run .logs .source or "execution" ,
90459051 step_run_id = step_schema .id ,
90469052 artifact_store_id = step_run .logs .artifact_store_id ,
90479053 )
0 commit comments