-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dvc.api.open: Will ignore remote option if a default remote is set in config. #7341
Comments
Initial discussion: @PietrassykFP has been setting up the credentials via environmental variables, so if the remote gets resolved properly, it should not raise issues. I created a local test aiming to verify if remote gets resolved properly and it seem to be working fine:
It would be good to reproduce the problem and create a test, though that needs some more investigation. |
Bug Report
dvc.api.open: Will ignore remote option if a default remote is set in config.
Description
In some cases, when passing the remote parameter. The remote specification will get lost during the
dvc pull
execution and will be overwritten by the default remote from the dvc config.Reproduce
Expected
If the remote argument is passed this remote should allways be used, when opening files.
Environment information
Output of
dvc doctor
:The text was updated successfully, but these errors were encountered: