Skip to content

Commit

Permalink
fix: Removed Pipeline Run Version for .63
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-R-Perkins committed Jul 31, 2024
1 parent 85ca717 commit 043c400
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion bundled/tool/zenml_grapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,4 @@ def to_dict(self) -> GraphResponse:
"edges": self.edges,
"status": self.run.body.status,
"name": self.run.body.pipeline.name,
"version": self.run.body.pipeline.body.version,
}
5 changes: 1 addition & 4 deletions bundled/tool/zenml_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ def fetch_pipeline_runs(self, args):
"id": str(run.id),
"name": run.body.pipeline.name,
"status": run.body.status,
"version": run.body.pipeline.body.version,
"stackName": run.body.stack.name,
"startTime": (
run.metadata.start_time.isoformat()
Expand Down Expand Up @@ -396,7 +395,6 @@ def get_pipeline_run(self, args: Tuple[str]) -> dict:
"id": str(run.id),
"name": run.body.pipeline.name,
"status": run.body.status,
"version": run.body.pipeline.body.version,
"stackName": run.body.stack.name,
"startTime": (
run.metadata.start_time.isoformat()
Expand Down Expand Up @@ -434,7 +432,7 @@ def get_pipeline_run_graph(
"""
try:
run_id = args[0]
run = self.client.get_pipeline_run(run_id, hydrate=True)
run = self.client.get_pipeline_run(run_id)
graph = Grapher(run)
graph.build_nodes_from_steps()
graph.build_edges_from_steps()
Expand Down Expand Up @@ -485,7 +483,6 @@ def get_run_step(self, args: Tuple[str]) -> Union[RunStepResponse, ErrorResponse
"pipeline": {
"name": run.body.pipeline.name,
"status": run.body.status,
"version": run.body.pipeline.body.version,
},
"cacheKey": step.metadata.cache_key,
"sourceCode": step.metadata.source_code,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/pipelines/DagRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default class DagRenderer extends WebviewBase {
const graph = this.layoutDag(dagData);
const svg = await this.drawDag(graph);
const updateButton = dagData.status === 'running' || dagData.status === 'initializing';
const title = `${dagData.name} - v${dagData.version}`;
const title = `${dagData.name}`;

// And set its HTML content
panel.webview.html = this.getWebviewContent({
Expand Down
2 changes: 0 additions & 2 deletions src/types/PipelineTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export interface PipelineRun {
id: string;
name: string;
status: string;
version: string;
stackName: string;
startTime: string;
endTime: string;
Expand Down Expand Up @@ -67,7 +66,6 @@ export interface PipelineRunDag {
edges: Array<DagEdge>;
status: string;
name: string;
version: string;
}

export type PipelineRunsResponse = PipelineRunsData | ErrorMessageResponse | VersionMismatchError;
2 changes: 1 addition & 1 deletion src/views/activityBar/pipelineView/PipelineTreeItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class PipelineTreeItem extends vscode.TreeItem {
: vscode.TreeItemCollapsibleState.Collapsed
);
this.tooltip = `${run.name} - Status: ${run.status}`;
this.description = `version: ${run.version}, status: ${run.status}`;
this.description = `status: ${run.status}`;
this.iconPath = new vscode.ThemeIcon(PIPELINE_RUN_STATUS_ICONS[run.status]);
this.children = children;
}
Expand Down

0 comments on commit 043c400

Please sign in to comment.