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

Add CLI option to provide a factory function name #351

Closed
bachya opened this issue Jul 10, 2024 · 0 comments · Fixed by #398
Closed

Add CLI option to provide a factory function name #351

bachya opened this issue Jul 10, 2024 · 0 comments · Fixed by #398
Labels
enhancement New feature or request
Milestone

Comments

@bachya
Copy link

bachya commented Jul 10, 2024

I would like the ability to provider Granian with a factory function name via the CLI, env var, etc. Reference what Uvicorn does: https://www.uvicorn.org/#application-factories

@gi0baro gi0baro added the enhancement New feature or request label Jul 17, 2024
@gi0baro gi0baro added this to the 1.6 milestone Aug 1, 2024
gi0baro added a commit that referenced this issue Sep 3, 2024
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

Successfully merging a pull request may close this issue.

2 participants