Support for a Run/Debug Configuration for FastAPI using Application Factory Pattern

Looks like the only way to create a Run/Debug  configuration is by using the default run configuration without an app factory. The app factory pattern won't run (not as a FastAPI config anyway) with the the error shown below.  Also, none of the functionality associated with FastAPI, like the Endpoints tool window, and others, work with this pattern either.

Default config works:

 

App Factory does not:


Error from trying an app factory patter with a FastAPI run/debug config:
0
1 comment

Hi, could you please submit a ticket to https://youtrack.jetbrains.com with a project sample?

0

Please sign in to leave a comment.