Skip to content

Commit

Permalink
add request parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
muuuuwa committed Jan 14, 2024
1 parent 072afd5 commit 2921dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdworkflow/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def project_sessions(
if page_size:
params["page_size"] = page_size
project_id = project.id if isinstance(project, Project) else project
r = cast(ListOfDict, self.get(f"projects/{project_id}/sessions"))
r = cast(ListOfDict, self.get(f"projects/{project_id}/sessions", params=params))
if r:
return [Session.from_api_repr(**s) for s in r["sessions"]]
else:
Expand Down

0 comments on commit 2921dc9

Please sign in to comment.