Skip to content

Commit

Permalink
Add a warning about only saving the history in jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
kbolashev committed Sep 7, 2023
1 parent 242b48d commit abfd242
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dagshub/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def save_notebook(repo, path="", branch=None, commit_message=None, versioning='g
with open(out_path, 'w') as file:
file.write(json.dumps(notebook_ipynb["ipynb"], indent=4))
else:
log_message("Saving only the execution history for the notebook in Jupyter environments", logger)
get_ipython().run_line_magic('notebook', out_path)

repo = Repo(owner, repo, branch=branch)
Expand Down

0 comments on commit abfd242

Please sign in to comment.