Skip to content

Commit

Permalink
Merge pull request #28 from muuuuwa/fix_project_sessions
Browse files Browse the repository at this point in the history
add request parameters to client.project_sessions.
  • Loading branch information
chezou committed Jan 14, 2024
2 parents 072afd5 + 2921dc9 commit 3208bfa
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 3208bfa

Please sign in to comment.