Skip to content

Commit

Permalink
Add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas committed Apr 5, 2024
1 parent da69296 commit 70dcdd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stringx/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def map(
limit: int = 1,
echo_query: bool = True,
format: str | None = None,
):
) -> httpx.Response:
url = f"api/{format or self.format}/get_string_ids"

params = httpx.QueryParams(
Expand All @@ -51,7 +51,7 @@ def network(
add_nodes: int | None = None,
show_query_node_labels: bool = False,
format: str | None = None,
):
) -> httpx.Response:
url = f"api/{format or self.format}/network"

params = httpx.QueryParams(
Expand All @@ -76,7 +76,7 @@ def interaction_partners(
*,
limit: int | None = None,
format: str | None = None,
):
) -> httpx.Response:
url = f"api/{format or self.format}/interaction_partners"

params = httpx.QueryParams(
Expand All @@ -91,7 +91,7 @@ def interaction_partners(

def homology(
self, identifiers: list[str], species: int, *, format: str | None = None
):
) -> httpx.Response:
url = f"api/{format or self.format}/homology"

params = httpx.QueryParams(
Expand Down

0 comments on commit 70dcdd2

Please sign in to comment.