Skip to content

Commit

Permalink
Merge pull request #1 from opsmill/BeArchiTek-patch-1
Browse files Browse the repository at this point in the history
Update infrahub_utils.py
  • Loading branch information
BeArchiTek authored Oct 27, 2023
2 parents 3f7d292 + 183bae7 commit c664e44
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/module_utils/infrahub_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,11 @@ def fetch_and_process(
query_str = self.client._render_query(query=query)
elif isinstance(query, str):
query_str = query
results = self.client.execute_graphql(query=query_str, variables=variables)

response = self.client.execute_graphql(query=query_str, variables=variables)
results = []
for node in response[schema.kind]["edges"]:
# TODO build all_nodes
pass
return results


Expand Down

0 comments on commit c664e44

Please sign in to comment.