Skip to content

Commit dc004c5

Browse files
author
Phillip Simonds
committed
Updates per PR review.
1 parent e4d8f40 commit dc004c5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

infrahub_sdk/ctl/cli_commands.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
AttributeSchema,
3737
GenericSchema,
3838
InfrahubRepositoryConfig,
39-
InfrahubRepositoryGraphQLConfig,
4039
NodeSchema,
4140
RelationshipSchema,
4241
)
@@ -274,12 +273,6 @@ def render(
274273
list_jinja2_transforms(config=repository_config)
275274
raise typer.Exit(1) from exc
276275

277-
# Load query config object and add to repository config
278-
query_config_obj = InfrahubRepositoryGraphQLConfig(
279-
name=transform_config.query, file_path=Path(transform_config.query + ".gql")
280-
)
281-
repository_config.queries.append(query_config_obj)
282-
283276
# Construct transform function used to transform data returned from the API
284277
transform_func = functools.partial(render_jinja2_template, transform_config.template_path, variables_dict)
285278

0 commit comments

Comments
 (0)