FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Revertible] Import autogenerated pydantic client by phil-scale · Pull Request #83 · scaleapi/launch-python-client · GitHub

[Revertible] Import autogenerated pydantic client - #83

Open
phil-scale wants to merge 1 commit into
launch-v1from
phil/autogen-pydantic-client
Open

[Revertible] Import autogenerated pydantic client#83
phil-scale wants to merge 1 commit into
launch-v1from
phil/autogen-pydantic-client

Conversation

Copy link
Copy Markdown
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]

Copy link
Copy Markdown

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

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

yixu34 commented Mar 8, 2023

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
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).

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL