- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 873 for coda (0.35 sec)
-
docs/em/docs/tutorial/response-status-code.md
๐ ๐ ๐ ๐ช โ ๐จ ๐ท, ๐ ๐ช ๐ฃ ๐บ๐ธ๐ ๐ ๐ โ๏ธ ๐จ โฎ๏ธ ๐ข `status_code` ๐ *โก ๐ ๏ธ*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * โ๏ธ. ```Python hl_lines="6" {!../../../docs_src/response_status_code/tutorial001.py!} ``` !!! note ๐ ๐ `status_code` ๐ข "๐จโ๐จ" ๐ฉโ๐ฌ (`get`, `post`, โ๏ธ). ๐ซ ๐ *โก ๐ ๏ธ ๐ข*, ๐ ๐ ๐ข & ๐ช. `status_code` ๐ข ๐จ ๐ข โฎ๏ธ ๐บ๐ธ๐ ๐ ๐. !!! info
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) -
tests/test_response_code_no_body.py
client = TestClient(app) def test_get_response(): response = client.get("/a") assert response.status_code == 204, response.text assert "content-length" not in response.headers assert response.content == b"" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.2K bytes - Viewed (0) -
docs/pt/docs/project-generation.md
* Fรกcil integraรงรฃo com Python atravรฉs dos **Kernels Jupyter** para desenvolvimento remoto ou no Docker com extensรตes como Atom Hydrogen ou Visual Studio Code Jupyter. * _Frontend_ **Vue**: * Gerado com Vue CLI.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Oct 17 05:50:32 GMT 2020 - 6.3K bytes - Viewed (0) -
docs/pt/docs/deployment/https.md
* Por padrรฃo, isso significa que vocรช sรณ pode ter um certificado HTTPS por endereรงo IP. * Nรฃo importa o tamanho do seu servidor ou quรฃo pequeno cada aplicativo que vocรช tem nele possa ser. * No entanto, existe uma soluรงรฃo para isso.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 05 10:40:05 GMT 2021 - 3.9K bytes - Viewed (0) -
docs/em/docs/tutorial/metadata.md
| `contact` | `dict` | ๐ง โน ๐ฆ ๐ ๏ธ. โซ๏ธ ๐ช ๐ ๐ ๐. <details><summary><code>contact</code> ๐</summary><table><thead><tr><th>๐ข</th><th>๐</th><th>๐</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>str</code></td><td>โ ๐ ๐ง ๐จโ๐ผ/๐ข.</td></tr><tr><td><code>url</code></td><td><code>str</code></td><td>๐ โ ๐ง โน. ๐ ๐ ๐.</td></tr><tr><td><code>email</code></td><td><code>str</code></td><td>๐ง ๐ข ๐ง ๐จโ๐ผ/๐ข. ๐ ๐ ๐ง ๐ข. </td></tr></tbody></table></details> |
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.2K bytes - Viewed (0) -
tests/test_query.py
assert response.status_code == 200 assert response.json() == "foo bar" def test_query_param_query_50(): response = client.get("/query/param?query=50") assert response.status_code == 200 assert response.json() == "foo bar 50" def test_query_param_required(): response = client.get("/query/param-required") assert response.status_code == 422 assert response.json() == IsDict(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 11.4K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001_py310.py
assert response.status_code == 200 assert response.json() == { "name": "Foo", "price": 50.5, "description": None, "tax": None, } @needs_py310 def test_post_with_str_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": "50.5"}) assert response.status_code == 200 assert response.json() == {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 15K bytes - Viewed (1) -
tests/test_tutorial/test_body/test_tutorial001.py
assert response.status_code == 200 assert response.json() == { "name": "Foo", "price": 50.5, "description": None, "tax": None, } def test_post_with_str_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": "50.5"}) assert response.status_code == 200 assert response.json() == { "name": "Foo",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 14.7K bytes - Viewed (5) -
docs/en/docs/benchmarks.md
* Will have the best performance, as it doesn't have much extra code apart from the server itself. * You wouldn't write an application in Uvicorn directly. That would mean that your code would have to include more or less, at least, all the code provided by Starlette (or **FastAPI**). And if you did that, your final application would have the same overhead as having used a framework and minimizing your app code and bugs.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.4K bytes - Viewed (0)