Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Listing pipeline events fails with order_by #818

Open
ilia-db opened this issue Nov 8, 2024 · 0 comments
Open

[ISSUE] Listing pipeline events fails with order_by #818

ilia-db opened this issue Nov 8, 2024 · 0 comments

Comments

@ilia-db
Copy link

ilia-db commented Nov 8, 2024

Description
Listing pipeline events fails if order_by parameter is passed to the pipelines.list_pipeline_events.

Relevant docs for the page_token API field:

Page token returned by previous call. This field is mutually exclusive with all fields in this request except max_results. An error is returned if any fields other than max_results are set when this field is set

Reproduction
Code:

w.pipelines.list_pipeline_events("some pipeline id", order_by=["timestamp asc"])

Error:

...
InvalidParameterValue: You can provide a page token or specify an ordering, but not both.

Expected behavior
No errors

Is it a regression?
Probably not

Debug Logs
N/A

Other Information

  • OS: macOS
  • Version: 0.36.0

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant