Skip to content

Commit d41accc

Browse files
committed
refactor
Signed-off-by: Sugam Devare <sdevare@nvidia.com>
1 parent 795274d commit d41accc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

nemo_gym/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ def _capture_head_server_dependencies() -> Optional[Path]: # pragma: no cover
6666
return None
6767

6868

69-
def _setup_env_command(dir_path: Path, constraints_file: Optional[str] = None) -> str: # pragma: no cover
69+
def _setup_env_command(dir_path: Path, head_server_deps_file: Optional[str] = None) -> str: # pragma: no cover
7070
install_cmd = "uv pip install -r requirements.txt"
71-
if constraints_file:
72-
install_cmd += f" --constraint {constraints_file.absolute()}"
71+
if head_server_deps_file:
72+
install_cmd += f" --constraint {head_server_deps_file.absolute()}"
7373

7474
return f"""cd {dir_path} \\
7575
&& uv venv --allow-existing \\

0 commit comments

Comments
 (0)