fastapi-cli
fastapi-cli copied to clipboard
Run and manage FastAPI apps from the command line with FastAPI CLI. 🚀
## Pull Request Description **Title:** Fetch docs_url dynamically from FastAPI app **Description:** This pull request introduces a change to the `fastapi-cli` library that fetches the `docs_url` value dynamically from the...
This change allows configuration using both environment variables and a `pyproject.toml` file. ## Environment variables This takes advantage of the builtin functionality in click for loading options from environment variables....
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.4.4)
I added a way to get the current version of the dependencies instead of getting the hard code version and also did a small refactoring. 🥰 A small contribution from...
- Sync version ruff pre-commit with [requirements-tests.txt](https://github.com/tiangolo/fastapi-cli/blob/main/requirements-tests.txt) - version ruff pre-commit 0.4.3
sometimes its nice to have your custom logging in fastapi so i added passing it to uvicorn and fallbacking to uvicorn default one if nothing is passed in
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.5...v0.6.9)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.5 to 0.6.1. Release notes Sourced from ruff's releases. 0.6.1 Release Notes This is a hotfix release to address an issue with ruff-pre-commit. In v0.6, Ruff changed...
I have seen sort of the same implementation in one of pull requests, but I didn't like it, so I've written my own, simpler one. I haven't written any tests,...
This pull request introduces WebSocket configuration options, based on [Uvicorn settings](https://www.uvicorn.org/settings/). The following options have been added: ``` --ws --ws_max_size --ws_max_queue --ws_ping_interval --ws_ping_timeout --ws_per_message_deflate ```