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

[Fix] Client in CLI uses correct transfer config #747

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion skyplane/cli/cli_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def __init__(self, src_region_tag: str, dst_region_tag: str, args: Dict[str, Any
self.args = args
self.aws_config, self.azure_config, self.gcp_config = self.to_api_config(skyplane_config or cloud_config)
self.transfer_config = self.make_transfer_config(skyplane_config or cloud_config)
self.client = skyplane.SkyplaneClient(aws_config=self.aws_config, azure_config=self.azure_config, gcp_config=self.gcp_config)
self.client = skyplane.SkyplaneClient(
aws_config=self.aws_config, azure_config=self.azure_config, gcp_config=self.gcp_config, transfer_config=self.transfer_config
)
typer.secho(f"Using Skyplane version {skyplane.__version__}", fg="bright_black")
typer.secho(f"Logging to: {self.client.log_dir / 'client.log'}", fg="bright_black")

Expand Down