- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 350 for files (0.02 sec)
-
docs/en/docs/tutorial/static-files.md
# Static Files You can serve static files automatically from a directory using `StaticFiles`. ## Use `StaticFiles` * Import `StaticFiles`. * "Mount" a `StaticFiles()` instance in a specific path. {* ../../docs_src/static_files/tutorial001.py hl[2,6] *} /// note | "Technical Details" You could also use `from starlette.staticfiles import StaticFiles`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:45:40 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/static-files.md
{!../../docs_src/static_files/tutorial001.py!} ``` /// note | "기술적 세부사항" `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다. **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다. /// ### "마운팅" 이란 "마운팅"은 특정 경로에 완전히 "독립적인" 애플리케이션을 추가하는 것을 의미하는데, 그 후 모든 하위 경로에 대해서도 적용됩니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* You don't have to use `File()` in the default value of the parameter. * It uses a "spooled" file: * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk. * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory. * You can get metadata from the uploaded file.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/static-files.md
## Mais informações
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/static-files.md
`name="static"` 提供了一个能被**FastAPI**内部使用的名字。 所有这些参数可以不同于"`static`",根据你应用的需要和具体细节调整它们。 ## 更多信息
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/de/docs/tutorial/request-files.md
Mit `File` können sie vom Client hochzuladende Dateien definieren. /// info Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>. Z. B. `pip install python-multipart`. Das, weil hochgeladene Dateien als „Formulardaten“ gesendet werden. /// ## `File` importieren
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.3K bytes - Viewed (0) -
docs/em/docs/tutorial/request-files.md
👆 💪 🔬 📁 📂 👩💻 ⚙️ `File`. /// info 📨 📂 📁, 🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. 🤶 Ⓜ. `pip install python-multipart`. 👉 ↩️ 📂 📁 📨 "📨 💽". /// ## 🗄 `File` 🗄 `File` & `UploadFile` ⚪️➡️ `fastapi`: ```Python hl_lines="1" {!../../docs_src/request_files/tutorial001.py!} ``` ## 🔬 `File` 🔢
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/de/docs/tutorial/static-files.md
Sebastián Ramírez <******@****.***> 1728247014 +0200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
``` ## `File` 매개변수 정의 `Body` 및 `Form` 과 동일한 방식으로 파일의 매개변수를 생성합니다: ```Python hl_lines="7" {!../../docs_src/request_files/tutorial001.py!} ``` /// info | "정보" `File` 은 `Form` 으로부터 직접 상속된 클래스입니다. 하지만 `fastapi`로부터 `Query`, `Path`, `File` 등을 임포트 할 때, 이것들은 특별한 클래스들을 반환하는 함수라는 것을 기억하기 바랍니다. /// /// tip | "팁" File의 본문을 선언할 때, 매개변수가 쿼리 매개변수 또는 본문(JSON) 매개변수로 해석되는 것을 방지하기 위해 `File` 을 사용해야합니다. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/request-files.md
``` //// /// info | "Дополнительная информация" `File` - это класс, который наследуется непосредственно от `Form`. Но помните, что когда вы импортируете `Query`, `Path`, `File` и другие из `fastapi`, на самом деле это функции, которые возвращают специальные классы. /// /// tip | "Подсказка"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.3K bytes - Viewed (0)