Skip to content

🚸 Show import string source#388

Merged
tiangolo merged 4 commits into
mainfrom
show-config-source
Jun 18, 2026
Merged

🚸 Show import string source#388
tiangolo merged 4 commits into
mainfrom
show-config-source

Conversation

@YuriiMotov

@YuriiMotov YuriiMotov commented Apr 30, 2026

Copy link
Copy Markdown
Member

Currently fastapi run \ fastapi dev commands show import string, but it's not clear where it comes from:

image

With changes from this PR it will be:

Config option Output
no config
(fastapi run)
image
only path is specified
(fastapi run main.py)
image
path and app are specified
(fastapi run main.py --app app)
image
entrypoint is specified as CLI option
(fastapi run --entrypoint main:app)
image
entrypoint is specified in pyproject.toml
(fastapi run)
image

@YuriiMotov YuriiMotov added the feature New feature or request label Apr 30, 2026
@YuriiMotov YuriiMotov self-assigned this Apr 30, 2026
@YuriiMotov YuriiMotov marked this pull request as ready for review April 30, 2026 12:25

@tiangolo tiangolo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good, thank you! 🚀

@tiangolo tiangolo merged commit 6e6988a into main Jun 18, 2026
22 checks passed
@tiangolo tiangolo deleted the show-config-source branch June 18, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants