We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b8d5c commit 95dfa90Copy full SHA for 95dfa90
1 file changed
docs/python_snippets/client_generated_id/schematic_example.py
@@ -145,8 +145,9 @@ def create_app() -> FastAPI:
145
app = create_app()
146
147
if __name__ == "__main__":
148
+ current_file_name = CURRENT_FILE.name.replace(CURRENT_FILE.suffix, "")
149
uvicorn.run(
- "test:app",
150
+ f"{current_file_name}:app",
151
host="0.0.0.0",
152
port=8084,
153
reload=True,
0 commit comments