Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 726 for item_e (0.05 sec)

  1. docs/de/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Metadaten deklarieren { #declare-metadata }
    
    Sie können dieselben Parameter wie für `Query` deklarieren.
    
    Um zum Beispiel einen `title`-Metadaten-Wert für den Pfad-Parameter `item_id` zu deklarieren, können Sie schreiben:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | Hinweis
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "name": "item_id",
                                "in": "path",
                                "required": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_schema_extra_example/test_tutorial002.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "name": "item_id",
                                "in": "path",
                                "required": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. docs/ru/docs/python-types.md

    ///
    
    Это означает: «переменная `items` — это `list`, и каждый элемент этого списка — `str`».
    
    Таким образом, ваш редактор кода сможет помогать даже при обработке элементов списка:
    
    <img src="/img/python-types/image05.png">
    
    Без типов добиться этого почти невозможно.
    
    Обратите внимание, что переменная `item` — один из элементов списка `items`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005.py

        client = TestClient(mod.app)
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
            "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}]
    
    
    def test_read_system_status(mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "integer"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/handling-errors.md

    Якщо клієнт робить запит за шляхом `http://example.com/items/foo` (де `item_id` `"foo"`), він отримає статус-код 200 і JSON відповідь:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Але якщо клієнт робить запит на `http://example.com/items/bar` (де `item_id` має не існуюче значення `"bar"`), то отримає статус-код 404 (помилка "не знайдено") та відповідь:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Порада
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Par exemple, pour déclarer une valeur de métadonnée `title` pour le paramètre de chemin `item_id`, vous pouvez écrire :
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declare metadados { #declare-metadata }
    
    Você pode declarar todos os mesmos parâmetros que em `Query`.
    
    Por exemplo, para declarar um valor de metadado `title` para o parâmetro de path `item_id` você pode digitar:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/path-params.md

    Pythonのformat文字列と同様のシンタックスで「パスパラメータ」や「パス変数」を宣言できます:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6,7] *}
    
    パスパラメータ `item_id` の値は、引数 `item_id` として関数に渡されます。
    
    しがたって、この例を実行して <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> にアクセスすると、次のレスポンスが表示されます。
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## パスパラメータと型
    
    標準のPythonの型アノテーションを使用して、関数内のパスパラメータの型を宣言できます:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top