Skip to content

Commit 95dfa90

Browse files
CosmoVmahenzon
authored andcommitted
updated doc
1 parent d7b8d5c commit 95dfa90

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/python_snippets/client_generated_id/schematic_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ def create_app() -> FastAPI:
145145
app = create_app()
146146

147147
if __name__ == "__main__":
148+
current_file_name = CURRENT_FILE.name.replace(CURRENT_FILE.suffix, "")
148149
uvicorn.run(
149-
"test:app",
150+
f"{current_file_name}:app",
150151
host="0.0.0.0",
151152
port=8084,
152153
reload=True,

0 commit comments

Comments
 (0)