import: doesn't consider url parameter if config.local is available
Description
If you have set up two remotes in your .dvc/config file and handle their authorization in .dvc/config.local, using the dvc import command produces the output ERROR: failed to import 'path_from_repo' from 'https://github.com/myrepo.git'. - config file error: expected 'url' for dictionary value @ data['remote']['my-inbox']
Bug Report
import: doesn't consider url parameter if config.local is available
Description
If you have set up two remotes in your
.dvc/config
file and handle their authorization in.dvc/config.local
, using thedvc import
command produces the outputERROR: failed to import 'path_from_repo' from 'https://github.com/myrepo.git'. - config file error: expected 'url' for dictionary value @ data['remote']['my-inbox']
Reproduce
.dvc/config
contains:.dvc/config.local
contains:Then run
Expected
I expect that the specified
path
from the given repository is checked out in the given folder nameSSD
.Environment information
Output of
dvc doctor
:Additional Information (if any): See
import-url error
thread in your Discord channel.