Skip to content

Commit

Permalink
Merge pull request #48 from BalancerMaxis/perf/disable-schema-fetching
Browse files Browse the repository at this point in the history
perf: do not fetch schema
  • Loading branch information
gosuto-inzasheru authored Oct 3, 2024
2 parents aa1100c + 023e6b9 commit 004d88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bal_tools/subgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def fetch_graphql_data(
transport = RequestsHTTPTransport(
url=url or self.subgraph_url[subgraph], retries=retries
)
client = Client(transport=transport, fetch_schema_from_transport=True)
client = Client(transport=transport, fetch_schema_from_transport=False)

# retrieve the query from its file and execute it
with open(f"{graphql_base_path}/{subgraph}/{query}.gql") as f:
Expand Down

0 comments on commit 004d88d

Please sign in to comment.