We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sgr cloud load
--skip-external
1 parent 943e60e commit df090f3Copy full SHA for df090f3
1 file changed
splitgraph/commandline/cloud.py
@@ -632,15 +632,15 @@ def load_c(
632
633
repo_yaml = load_project(repositories_file)
634
repositories = repo_yaml.repositories
635
+ if limit_repositories:
636
+ repositories = [
637
+ r for r in repositories if f"{r.namespace}/{r.repository}" in limit_repositories
638
+ ]
639
640
gql_client = GQLAPIClient(remote)
641
642
if not skip_external:
643
rest_client = RESTAPIClient(remote)
- if limit_repositories:
- repositories = [
- r for r in repositories if f"{r.namespace}/{r.repository}" in limit_repositories
- ]
644
645
filter_credential_names = [
646
r.external.credential for r in repositories if r.external and r.external.credential
0 commit comments