Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot get notebook name using dbutils #1354

Open
Rooth123 opened this issue Sep 10, 2024 · 0 comments
Open

[BUG] Cannot get notebook name using dbutils #1354

Rooth123 opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Rooth123
Copy link

Rooth123 commented Sep 10, 2024

Notebook names cannot be returned using the traditional dbutils.notebook.entry_point.getDbutils().notebook().getContext().notebookPath().get().

The notebook name cannot be returned using this and it is advised to put the notebook name in an .env file. However when the notebook name is needed dynamically this is not ideal. It would be great if this method worked on dbconnect / vscode extension as well as being able to access other environment variables on the cluster

@Rooth123 Rooth123 added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant