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

[Revertible] Import autogenerated pydantic client #83

Open
wants to merge 1 commit into
base: launch-v1
Choose a base branch
from

Conversation

phil-scale
Copy link
Contributor

I think the autogenerated pydantic clients from https://github.com/dmontagu/fastapi_client are much better than the OpenAPI autogenerated clients because 1) they provide async APIs 2) the serialization relies on Pydantic, which is faster and has more functionality than the OpenAPI auto-generated types.

This PR doesn't change the client to use these types because I think that's a bigger change that I'd like to separate into another PR.

[sc-710622]

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #710622: Launch python client overhaul.

@phil-scale phil-scale requested a review from a team March 3, 2023 00:13
@phil-scale phil-scale force-pushed the phil/autogen-pydantic-client branch from 91c0a20 to 388cf5e Compare March 7, 2023 00:45
@yixu34
Copy link
Member

yixu34 commented Mar 8, 2023

@phil-scale is there anything worth a human reviewing? Wasn't immediately obvious to me from a skim what was auto-generated vs. not.

@phil-scale
Copy link
Contributor Author

Yeah this is fully auto-generated. I'll keep it on this branch for now while I test it out (might be delayed due to LIRA).

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

Successfully merging this pull request may close these issues.

2 participants