Skip to content

WS order_by allow both str and enum input#87

Merged
robbieaverill merged 8 commits intoSeequentEvo:mainfrom
lokkochan:main
Jul 30, 2025
Merged

WS order_by allow both str and enum input#87
robbieaverill merged 8 commits intoSeequentEvo:mainfrom
lokkochan:main

Conversation

@lokkochan
Copy link
Copy Markdown
Contributor

Description

order_by is taking in enum, but is not converted to string before processing them in next layer. This result in 422 as enum instead of str is being passed in. (Issue for python3.11 or higher)

Allow both str and enum input and client preprocess them into string if is enum being passed in

Checklist

  • I have read the contributing guide and the code of conduct

@lokkochan lokkochan marked this pull request as ready for review July 17, 2025 20:34
@lokkochan lokkochan requested a review from a team as a code owner July 17, 2025 20:34
Copy link
Copy Markdown
Contributor

@robbieaverill robbieaverill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @lokkochan, thanks for the PR! I've left a question about the enum handling.

@robbieaverill robbieaverill added the evo-sdk-common Affects the evo-sdk-common package label Jul 17, 2025
Copy link
Copy Markdown
Contributor

@robbieaverill robbieaverill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, we can remove the enum typing and just have the new Literal types. Happy to merge in its current state though. Thanks @lokkochan!

@robbieaverill robbieaverill merged commit 4c4e1e4 into SeequentEvo:main Jul 30, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

evo-sdk-common Affects the evo-sdk-common package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants