-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from zenml-io/default-view
Default view
- Loading branch information
Showing
7 changed files
with
51 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM python:3.11.9-slim-bookworm | ||
|
||
# Install git | ||
RUN apt-get -y update | ||
RUN apt-get -y install git | ||
|
||
# Install ZenML | ||
RUN pip install --no-cache-dir zenml | ||
RUN zenml integration install sklearn -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+26.7 KB
(100%)
.devcontainer/extensions/zenml-vscode-quickstart-0.0.1.vsix
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import * as vscode from "vscode"; | ||
|
||
export default async function setDirectory() { | ||
const isCodespace = process.env.CODESPACES === "true"; | ||
|
||
const targetUri = vscode.Uri.file( | ||
`/root/${ | ||
isCodespace ? ".vscode-remote" : ".vscode-server" | ||
}/extensions/zenml.zenml-vscode-quickstart-0.0.1/zenmlQuickstart/sections` | ||
); | ||
|
||
const currentWorkspace = vscode.workspace.workspaceFolders; | ||
|
||
if ( | ||
!currentWorkspace || | ||
currentWorkspace[0].uri.fsPath !== targetUri.fsPath | ||
) { | ||
try { | ||
await vscode.commands.executeCommand("vscode.openFolder", targetUri); | ||
} catch (e) { | ||
vscode.window.showErrorMessage( | ||
`There was a problem opening the directory: ${e}` | ||
); | ||
} | ||
} | ||
} |