- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for operators (0.35 sec)
-
docs/ja/docs/tutorial/dependencies/index.md
graph TB common_parameters(["common_parameters"]) read_items["/items/"] read_users["/users/"] common_parameters --> read_items common_parameters --> read_users ``` この方法では、共有されるコードを一度書き、**FastAPI** が*path operations*のための呼び出しを行います。 !!! check "確認" 特別なクラスを作成してどこかで **FastAPI** に渡して「登録」する必要はないことに注意してください。 `Depends`を渡すだけで、**FastAPI** が残りの処理をしてくれます。 ## `async`にするかどうか
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 16:08:16 GMT 2024 - 9.7K bytes - Viewed (0) -
docs/it/docs/index.md
```JSON {"item_id": 5, "q": "somequery"} ``` Hai appena creato un'API che: * Riceve richieste HTTP sui _paths_ `/` and `/items/{item_id}`. * Entrambi i _paths_ accettano`GET` operations (conosciuti anche come <abbr title="metodi HTTP">HTTP _methods_</abbr>). * Il _path_ `/items/{item_id}` ha un _path parameter_ `item_id` che deve essere un `int`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19.3K bytes - Viewed (0) -
docs/en/docs/index.md
```JSON {"item_id": 5, "q": "somequery"} ``` You already created an API that: * Receives HTTP requests in the _paths_ `/` and `/items/{item_id}`. * Both _paths_ take `GET` operations (also known as HTTP _methods_). * The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`. * The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 19.8K bytes - Viewed (0) -
docs/fa/docs/index.md
```JSON {"item_id": 5, "q": "somequery"} ``` تا اینجا شما APIای ساختید که: * درخواستهای HTTP به _مسیرهای_ `/` و `/items/{item_id}` را دریافت میکند. * هردو _مسیر_ <abbr title="operations در OpenAPI">عملیات</abbr> (یا HTTP _متد_) `GET` را پشتیبانی میکند. * _مسیر_ `/items/{item_id}` شامل <abbr title="Path Parameter">_پارامتر مسیر_</abbr> `item_id` از نوع `int` است.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 25.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
read_items["/items/"] read_users["/users/"] common_parameters --> read_items common_parameters --> read_users ``` This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*. !!! check Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0)