pre-commit-ci-lite[bot]
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
docs/hi/docs/tutorial/first-steps.md
|
|
|
@ -163,8 +163,8 @@ from main import app |
|
|
|
``` |
|
|
|
. |
|
|
|
├── backend |
|
|
|
│ ├── main.py |
|
|
|
│ ├── __init__.py |
|
|
|
│ ├── main.py |
|
|
|
│ ├── __init__.py |
|
|
|
``` |
|
|
|
|
|
|
|
तो आप `entrypoint` इस तरह सेट करेंगे: |
|
|
|
@ -418,4 +418,4 @@ FastAPI ऐप्स को उनके साथ डिप्लॉय कर |
|
|
|
* `@app.get("/")` जैसे decorators का उपयोग करके एक **path operation decorator** लिखें। |
|
|
|
* एक **path operation function** परिभाषित करें; उदाहरण के लिए, `def root(): ...`। |
|
|
|
* `fastapi dev` कमांड का उपयोग करके डेवलपमेंट सर्वर चलाएँ। |
|
|
|
* वैकल्पिक रूप से `fastapi deploy` से अपना ऐप डिप्लॉय करें। |
|
|
|
* वैकल्पिक रूप से `fastapi deploy` से अपना ऐप डिप्लॉय करें। |
|
|
|
|