You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
Generated clients will have the following dependencies:
pydantic for models
httpx for networking
fastapi for jsonable_encoder and OAuth models (I hope to eventually remove this as a dependency)
typing_extensions for Enums via Literal (I eventually hope to replace this with standard enums)
This package will automatically generate a python client API based on the openapi spec (same interface used in #28). This would mean that we wouldn't have to actually import pangeo_forge_orchestrator from the client; they would communicate solely through a single json file.
This would enable us to eventually factor apart the client (including cli) and server into separate packages, which is probably the right architecture in the long run.
The text was updated successfully, but these errors were encountered:
This would enable us to eventually factor apart the client (including cli) and server into separate packages, which is probably the right architecture in the long run.
which will allow us to make the client a separate pip-installable package.
One layer we may want to add on top of fastapi_client is the option to parse api responses into their corresponding SQLModel models. Having the dot-attributed objects is much more developer-friendly as compared with dicts.
We should consider replacing the current client.py with the fastapi_client package: https://github.com/dmontagu/fastapi_client
This package will automatically generate a python client API based on the openapi spec (same interface used in #28). This would mean that we wouldn't have to actually import pangeo_forge_orchestrator from the client; they would communicate solely through a single json file.
This would enable us to eventually factor apart the client (including cli) and server into separate packages, which is probably the right architecture in the long run.
The text was updated successfully, but these errors were encountered: