Skip to content

🚸 Show import string source#388

Open
YuriiMotov wants to merge 4 commits intomainfrom
show-config-source
Open

🚸 Show import string source#388
YuriiMotov wants to merge 4 commits intomainfrom
show-config-source

Conversation

@YuriiMotov
Copy link
Copy Markdown
Member

@YuriiMotov YuriiMotov commented Apr 30, 2026

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
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