]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update docs (#11603)
authorAlejandra <90076947+alejsdev@users.noreply.github.com>
Mon, 20 May 2024 00:24:48 +0000 (19:24 -0500)
committerGitHub <noreply@github.com>
Mon, 20 May 2024 00:24:48 +0000 (17:24 -0700)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
docs/en/docs/async.md
docs/en/docs/tutorial/first-steps.md

index a0c00933add030a186677d56fc5ffbdc51ec0ea4..793d691e3eb000d902c1bdaf611be62a3f60d277 100644 (file)
@@ -222,7 +222,7 @@ All of the cashiers doing all the work with one client after the other 👨‍
 
 And you have to wait 🕙 in the line for a long time or you lose your turn.
 
-You probably wouldn't want to take your crush 😍 with you to do errands at the bank 🏦.
+You probably wouldn't want to take your crush 😍 with you to run errands at the bank 🏦.
 
 ### Burger Conclusion
 
index 35b2feb41b108adac9d0f849faa67b06a849a865..d18b25d97141c7e743b1bd8e6909a6873eecffcc 100644 (file)
@@ -325,6 +325,6 @@ There are many other objects and models that will be automatically converted to
 
 * Import `FastAPI`.
 * Create an `app` instance.
-* Write a **path operation decorator** (like `@app.get("/")`).
-* Write a **path operation function** (like `def root(): ...` above).
-* Run the development server (like `uvicorn main:app --reload`).
+* Write a **path operation decorator** using decorators like `@app.get("/")`.
+* Define a **path operation function**; for example, `def root(): ...`.
+* Run the development server using the command `fastapi dev`.