- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,039 for Python (0.06 seconds)
-
docs/en/docs/management-tasks.md
* Unless it's a feature we want to discourage, like support for a corner case that we don't want users to use. * The docs should include a source example file, not write Python directly in Markdown. * If the source example(s) file can have different syntax for different Python versions, there should be different versions of the file, and they should be shown in tabs in the docs. * There should be tests testing the source example.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/ko/docs/how-to/custom-request-and-route.md
여기서는 원본 요청으로부터 `GzipRequest`를 만들기 위해 이를 사용합니다. {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *} /// note | 기술 세부사항 `Request`에는 `request.scope` 속성이 있는데, 이는 요청과 관련된 메타데이터를 담고 있는 Python `dict`입니다. `Request`에는 또한 `request.receive`가 있는데, 이는 요청의 바디를 "받기(receive)" 위한 함수입니다. `scope` `dict`와 `receive` 함수는 모두 ASGI 명세의 일부입니다. 그리고 이 두 가지, `scope`와 `receive`가 새로운 `Request` 인스턴스를 만드는 데 필요한 것들입니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/en/docs/tutorial/stream-json-lines.md
{"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ``` It's very similar to a JSON array (equivalent of a Python list), but instead of being wrapped in `[]` and having `,` between the items, it has **one JSON object per line**, they are separated by a new line character. /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
If you want to play with JWT tokens and see how they work, check [https://jwt.io](https://jwt.io/). ## Install `PyJWT` { #install-pyjwt } We need to install `PyJWT` to generate and verify the JWT tokens in Python. Make sure you create a [virtual environment](../../virtual-environments.md), activate it, and then install `pyjwt`: <div class="termy"> ```console $ pip install pyjwt ---> 100% ``` </div>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
`PUT` is used to receive data that should replace the existing data. ### Warning about replacing { #warning-about-replacing } That means that if you want to update the item `bar` using `PUT` with a body containing: ```Python { "name": "Barz", "price": 3, "description": None, } ``` because it doesn't include the already stored attribute `"tax": 20.2`, the input model would take the default value of `"tax": 10.5`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/ja/docs/tutorial/middleware.md
例えば、リクエストの処理とレスポンスの生成にかかった秒数を含むカスタムヘッダー `X-Process-Time` を追加できます: {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *} /// tip | 豆知識 ここでは、これらのユースケースに対してより正確になり得るため、`time.time()` の代わりに [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) を使用しています。 🤓 /// ## 複数ミドルウェアの実行順序 { #multiple-middleware-execution-order }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
tensorflow/c/eager/gradient_checker_test.cc
absl::Span<AbstractTensorHandle*> outputs) { return ops::Mul(ctx, inputs[0], inputs[1], &outputs[0], "Mul"); } // TODO(vnvo2409): Add more tests from `python/ops/gradient_checker_v2_test.py`. // These tests should not be confused with `[*]_grad_test` which compare the // result of `gradient_checker` and `[*]_grad`. The tests here test theCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.5K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
{* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} As that will happen on the Rust side, the performance will be much better than if it was done with regular Python and the `JSONResponse` class. When using a `response_model` or return type, FastAPI won't use the `jsonable_encoder` to convert the data (which would be slower) nor the `JSONResponse` class.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/es/llm-prompt.md
* Semantic Versioning: Semantic Versioning (do not translate to "Versionado Semántico") * dependable: dependable (do not translate to "confiable" or "fiable") * list (as in Python list): list * context manager: context manager (do not translate to "gestor de contexto" or "administrador de contexto") * a little bit: un poquito
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/ja/docs/advanced/openapi-callbacks.md
## コールバックのドキュメント化 { #documenting-the-callback } 実際のコールバックのコードは、あなた自身の API アプリに大きく依存します。 そしてアプリごとに大きく異なるでしょう。 それは次のように 1、2 行のコードかもしれません: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.3K bytes - Click Count (0)