- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 276 for stats (0.12 sec)
-
docs/em/docs/tutorial/response-status-code.md
``` ๐ซ ๐ช, ๐ซ ๐งโ๐คโ๐ง ๐ ๐ข, โ๏ธ ๐ ๐ ๐ ๐ช โ๏ธ ๐จโ๐จ ๐ ๐ ๐ซ: <img src="/img/tutorial/response-status-code/image02.png"> !!! note "๐ก โน" ๐ ๐ช โ๏ธ `from starlette import status`. **FastAPI** ๐ ๐ `starlette.status` `fastapi.status` ๐ช ๐, ๐ฉโ๐ป. โ๏ธ โซ๏ธ ๐ ๐ โช๏ธโก๏ธ ๐. ## ๐ ๐ข
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.4K bytes - Viewed (0) -
docs/em/docs/advanced/response-change-status-code.md
& โคด๏ธ ๐ ๐ช โ `status_code` ๐ *๐* ๐จ ๐. ```Python hl_lines="1 9 12" {!../../../docs_src/response_change_status_code/tutorial001.py!} ``` & โคด๏ธ ๐ ๐ช ๐จ ๐ ๐ ๐ ๐ช, ๐ ๐ ๐ ( `dict`, ๐ฝ ๐ท, โ๏ธ). & ๐ฅ ๐ ๐ฃ `response_model`, โซ๏ธ ๐ โ๏ธ โฝ & ๐ ๐ ๐ ๐จ. **FastAPI** ๐ โ๏ธ ๐ *๐* ๐จ โ ๐ ๐ (๐ช & ๐), & ๐ ๐ฎ ๐ซ ๐ ๐จ ๐ ๐ ๐ฒ ๐ ๐จ, โฝ ๐ `response_model`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 1.2K bytes - Viewed (0) -
docs/de/docs/reference/fastapi.md
```python from fastapi import FastAPI ``` ::: fastapi.FastAPI options: members: - openapi_version - webhooks - state - dependency_overrides - openapi - websocket - include_router - get - put - post - delete - options
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 18 12:19:32 GMT 2024 - 715 bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}. ## Details The first `"/static"` refers to the sub-path this "sub-application" will be "mounted" on. So, any path that starts with `"/static"` will be handled by it. The `directory="static"` refers to the name of the directory that contains your static files. The `name="static"` gives it a name that can be used internally by **FastAPI**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 19:56:09 GMT 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
E.g. `pip install httpx`. Import `TestClient`. Create a `TestClient` by passing your **FastAPI** application to it. Create functions with a name that starts with `test_` (this is standard `pytest` conventions). Use the `TestClient` object the same way as you do with `httpx`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
!!! check So, with the same Python type declaration, **FastAPI** gives you data validation. Notice that the error also clearly states exactly the point where the validation didn't pass. This is incredibly helpful while developing and debugging code that interacts with your API. ## Documentation
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/zh/docs/advanced/additional-status-codes.md
ไพๅฆ๏ผๅ่ฎพไฝ ๆณๆไธไธช *่ทฏๅพๆไฝ* ่ฝๅคๆดๆฐๆก็ฎ๏ผๅนถไธๆดๆฐๆๅๆถ่ฟๅ 200 ใๆๅใ ็ HTTP ็ถๆ็ ใ ไฝๆฏไฝ ไนๅธๆๅฎ่ฝๅคๆฅๅๆฐ็ๆก็ฎใๅนถไธๅฝ่ฟไบๆก็ฎไธๅญๅจๆถ๏ผไผ่ชๅจๅๅปบๅนถ่ฟๅ 201 ใๅๅปบใ็ HTTP ็ถๆ็ ใ ่ฆๅฎ็ฐๅฎ๏ผๅฏผๅ ฅ `JSONResponse`๏ผ็ถๅๅจๅ ถไธญ็ดๆฅ่ฟๅไฝ ็ๅ ๅฎน๏ผๅนถๅฐ `status_code` ่ฎพ็ฝฎไธบไธบไฝ ่ฆ็ๅผใ ```Python hl_lines="4 25" {!../../../docs_src/additional_status_codes/tutorial001.py!} ``` !!! warning "่ญฆๅ" ๅฝไฝ ็ดๆฅ่ฟๅไธไธชๅไธ้ขไพๅญไธญ็ `Response` ๅฏน่ฑกๆถ๏ผๅฎไผ็ดๆฅ่ฟๅใ FastAPI ไธไผ็จๆจกๅ็ญๅฏน่ฏฅๅๅบ่ฟ่กๅบๅๅใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.8K bytes - Viewed (0) -
tests/test_dependency_contextvars.py
legacy_request_state_context_var: ContextVar[Optional[Dict[str, Any]]] = ContextVar( "legacy_request_state_context_var", default=None ) app = FastAPI() async def set_up_request_state_dependency(): request_state = {"user": "deadpond"} contextvar_token = legacy_request_state_context_var.set(request_state) yield request_state legacy_request_state_context_var.reset(contextvar_token)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Feb 17 12:40:12 GMT 2022 - 1.5K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
- url - base_url - headers - query_params - path_params - cookies - client - state - url_for - client_state - application_state - receive - send - accept - receive_text - receive_bytes - receive_json - iter_text
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-status-code.md
Da mesma forma que vocรช pode especificar um modelo de resposta, vocรช tambรฉm pode declarar o cรณdigo de status HTTP usado para a resposta com o parรขmetro `status_code` em qualquer uma das *operaรงรตes de caminho*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. ```Python hl_lines="6" {!../../../docs_src/response_status_code/tutorial001.py!} ``` !!! note "Nota"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Oct 31 16:22:07 GMT 2022 - 4.3K bytes - Viewed (0)