- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 895 for python (0.11 sec)
-
docs/ko/docs/tutorial/static-files.md
# 정적 파일 'StaticFiles'를 사용하여 디렉토리에서 정적 파일을 자동으로 제공할 수 있습니다. ## `StaticFiles` 사용 * `StaticFiles` 임포트합니다. * 특정 경로에 `StaticFiles()` 인스턴스를 "마운트" 합니다. ```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "기술적 세부사항" `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/pt/docs/how-to/conditional-openapi.md
## OpenAPI condicional com configurações e variáveis de ambiente Você pode usar facilmente as mesmas configurações do Pydantic para configurar sua OpenAPI gerada e as interfaces de usuário de documentos. Por exemplo: ```Python hl_lines="6 11" {!../../docs_src/conditional_openapi/tutorial001.py!} ``` Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`. E então o usamos ao criar o aplicativo `FastAPI`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/index.md
Vous pouvez donc revenir et voir exactement ce dont vous avez besoin. ## Exécuter le code Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés). Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec : <div class="termy"> ```console $ uvicorn main:app --reload
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 3K bytes - Viewed (0) -
docs/es/docs/tutorial/index.md
Funciona también como una referencia futura, para que puedas volver y ver exactamente lo que necesitas. ## Ejecuta el código Todos los bloques de código se pueden copiar y usar directamente (en realidad son archivos Python probados). Para ejecutar cualquiera de los ejemplos, copia el código en un archivo llamado `main.py`, y ejecuta `uvicorn` de la siguiente manera en tu terminal: <div class="termy"> ```console
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/es/docs/benchmarks.md
Pero al comprobar benchmarks y comparaciones debes tener en cuenta lo siguiente. ## Benchmarks y velocidad
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Feb 07 11:39:50 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/fr/docs/benchmarks.md
Mais en prêtant attention aux tests de performance et aux comparaisons, il faut tenir compte de ce qu'il suit.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 27 18:49:56 UTC 2023 - 3.9K bytes - Viewed (0) -
docs/em/docs/how-to/conditional-openapi.md
* ...♒️. 👐, 👆 5️⃣📆 ✔️ 📶 🎯 ⚙️ 💼 🌐❔ 👆 🤙 💪 ❎ 🛠️ 🩺 🌐 (✅ 🏭) ⚖️ ⚓️ 🔛 📳 ⚪️➡️ 🌐 🔢. ## 🎲 🗄 ⚪️➡️ ⚒ & 🇨🇻 { 👆 💪 💪 ⚙️ 🎏 Pydantic ⚒ 🔗 👆 🏗 🗄 & 🩺 ⚜. 🖼: ```Python hl_lines="6 11" {!../../docs_src/conditional_openapi/tutorial001.py!} ``` 📥 👥 📣 ⚒ `openapi_url` ⏮️ 🎏 🔢 `"/openapi.json"`. & ⤴️ 👥 ⚙️ ⚫️ 🕐❔ 🏗 `FastAPI` 📱.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/ko/docs/advanced/response-change-status-code.md
이런 경우에는 `Response` 파라미터를 사용할 수 있습니다. ## `Response` 파라미터 사용하기 *경로 작동 함수*에 `Response` 타입의 파라미터를 선언할 수 있습니다. (쿠키와 헤더에 대해 선언하는 것과 유사하게) 그리고 이 *임시* 응답 객체에서 `status_code`를 설정할 수 있습니다. ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!} ``` 그리고 평소처럼 원하는 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다. `response_model`을 선언했다면 반환된 객체는 여전히 필터링되고 변환됩니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:01:39 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/em/docs/tutorial/cors.md
* ✍ 📇 ✔ 🇨🇳 (🎻). * 🚮 ⚫️ "🛠️" 👆 **FastAPI** 🈸. 👆 💪 ✔ 🚥 👆 👩💻 ✔: * 🎓 (✔ 🎚, 🍪, ♒️). * 🎯 🇺🇸🔍 👩🔬 (`POST`, `PUT`) ⚖️ 🌐 👫 ⏮️ 🃏 `"*"`. * 🎯 🇺🇸🔍 🎚 ⚖️ 🌐 👫 ⏮️ 🃏 `"*"`. ```Python hl_lines="2 6-11 13-19" {!../../docs_src/cors/tutorial001.py!} ``` 🔢 🔢 ⚙️ `CORSMiddleware` 🛠️ 🚫 🔢, 👆 🔜 💪 🎯 🛠️ 🎯 🇨🇳, 👩🔬, ⚖️ 🎚, ✔ 🖥 ✔ ⚙️ 👫 ✖️-🆔 🔑. 📄 ❌ 🐕🦺:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-webhooks.md
Wenn Sie eine **FastAPI**-Anwendung erstellen, gibt es ein `webhooks`-Attribut, mit dem Sie *Webhooks* definieren können, genauso wie Sie *Pfadoperationen* definieren würden, zum Beispiel mit `@app.webhooks.post()`. ```Python hl_lines="9-13 36-53" {!../../docs_src/openapi_webhooks/tutorial001.py!} ``` Die von Ihnen definierten Webhooks landen im **OpenAPI**-Schema und der automatischen **Dokumentations-Oberfläche**. /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)