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

[FEA] .env file loader for native running #109

Open
lmeyerov opened this issue Oct 19, 2023 · 1 comment
Open

[FEA] .env file loader for native running #109

lmeyerov opened this issue Oct 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lmeyerov
Copy link
Contributor

lmeyerov commented Oct 19, 2023

Is your feature request related to a problem? Please describe.

When using the experimental native loading support (cd src/python && streamlit ...), the .env is not used. It'd be helpful if it was -- currently a non-obvious workaround like env $(cat .env | xargs) streamlit ... is required .

Describe the solution you'd like

If a .env is locally available, or passed in (ENV_FILE=... streamlit), it should be recognized

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

The pydantic env package has a convenient abstraction that we use elsewhere for this

@lmeyerov lmeyerov added the enhancement New feature or request label Oct 19, 2023
@lmeyerov
Copy link
Contributor Author

cc @DataBoyTX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant