Skip to content

Commit 003d6ab

Browse files
committed
Remove unused import of get_branch from utils.py
1 parent c68e7eb commit 003d6ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infrahub_sdk/ctl/cli_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
from ..schema import MainSchemaTypesAll, SchemaRoot
4747
from ..template import Jinja2Template
4848
from ..template.exceptions import JinjaTemplateError
49-
from ..utils import get_branch, write_to_file
49+
from ..utils import write_to_file
5050
from ..yaml import SchemaFile
5151
from .exporter import dump
5252
from .importer import load

infrahub_sdk/ctl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def execute_graphql_query(
118118
query_str = query_object.load_query()
119119

120120
client = initialize_client_sync()
121-
121+
122122
if not branch:
123123
branch = client.config.default_infrahub_branch
124124

0 commit comments

Comments
 (0)