Skip to content

Commit

Permalink
Small graph client updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cyc60 committed Dec 19, 2024
1 parent 5a84f89 commit d28e04c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sw-utils"
version = "v0.7.2"
version = "v0.7.3"
description = "StakeWise Python utils"
authors = ["StakeWise Labs <[email protected]>"]
license = "GPL-3.0-or-later"
Expand Down
2 changes: 2 additions & 0 deletions sw_utils/graph/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .client import GraphClient
from .subgraph_committee import SubgraphCommittee, SubgraphCommitteeVotes
4 changes: 2 additions & 2 deletions sw_utils/graph/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ async def run_query(self, query: DocumentNode, params: dict | None = None) -> di
async def fetch_pages(
self,
query: DocumentNode,
page_size: int | None = None,
params: dict | None = None,
) -> list[dict] | None:
page_size: int | None = None,
) -> list[dict]:
"""
Fetches all pages of the query. Returns concatenated result.
"""
Expand Down

0 comments on commit d28e04c

Please sign in to comment.