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

[devops] write a test for endpoint /imagen #3

Open
Tracked by #2
ofey404 opened this issue May 1, 2023 · 1 comment
Open
Tracked by #2

[devops] write a test for endpoint /imagen #3

ofey404 opened this issue May 1, 2023 · 1 comment

Comments

@ofey404
Copy link
Collaborator

ofey404 commented May 1, 2023

No description provided.

@ofey404 ofey404 changed the title write a test for endpoint. [devops] write a test for endpoint /imagen May 1, 2023
@ofey404
Copy link
Collaborator Author

ofey404 commented May 2, 2023

We need some config file

This documentation shows how to use pydantic settings to read environment variable in a centralized way.

If we use pydantic's BaseSettings object as config file, it is backward compatible with our current setting.

This could be especially useful during testing, as it's very easy to override a dependency with your own custom settings.

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