Skip to content

Commit

Permalink
Fix tests; default on env vars in DeployHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
emdoyle committed Aug 18, 2024
1 parent d399761 commit 0cdf7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pare/cli/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class DeployHandler:
def __init__(
self,
file_paths: list[str],
environment_variables: dict[str, str],
environment_variables: dict[str, str] | None = None,
deploy_url: str | None = None,
api_key: str | None = None,
) -> None:
self.file_paths = {Path(file_path) for file_path in file_paths}
self.environment_variables = environment_variables
self.environment_variables = environment_variables or {}
self.deploy_url = deploy_url or (
f"{settings.PARE_API_URL}/{settings.PARE_API_VERSION}{settings.PARE_API_DEPLOY_URL_PATH}"
)
Expand Down

0 comments on commit 0cdf7fc

Please sign in to comment.