Skip to content

Commit

Permalink
Fix description of 'dependencies' argument (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
normandy7 authored Aug 8, 2023
1 parent b261ae9 commit 1be9a0e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/neptune/metadata_containers/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,9 @@ def __init__(
If None, Neptune looks for a repository in the path of the script that is executed.
To specify a different location, set to GitRef(repository_path="path/to/repo").
To turn off Git tracking for the run, set to GitRef.DISABLED.
dependencies: To track the project dependencies, pass a path to your dependency file.
If None, no dependency file is uploaded.
If you pass `"infer"`, Neptune will run `pip freeze` to generate and upload
the requirements.
dependencies: If you pass `"infer"`, Neptune logs dependencies installed in the current environment.
You can also pass a path to your dependency file directly.
If left empty, no dependency file is uploaded.
Returns:
Run object that is used to manage the tracked run and log metadata to it.
Expand Down Expand Up @@ -268,7 +267,7 @@ def __init__(
... description="Longer description of the run goes here",
... tags=["tags", "go-here", "as-list-of-strings"],
... source_files=["training_with_pytorch.py", "net.py"],
... monitoring_namespace="system_metrics",
... dependencies="infer",
... capture_stderr=False,
... git_ref=GitRef(repository_path="/Users/Jackie/repos/cls_project"),
... )
Expand Down

0 comments on commit 1be9a0e

Please sign in to comment.