Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for element (0.68 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

        ```
    
    !!! info
        Beachten Sie, wie `Offer` eine Liste von `Item`s hat, von denen jedes seinerseits eine optionale Liste von `Image`s hat.
    
    ## Bodys aus reinen Listen
    
    Wenn Sie möchten, dass das äußerste Element des JSON-Bodys ein JSON-`array` (eine Python-`list`e) ist, können Sie den Typ im Funktionsparameter deklarieren, mit der gleichen Syntax wie in Pydantic-Modellen:
    
    ```Python
    images: List[Image]
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py

                            }
                        },
                        "tags": ["items"],
                        "summary": "Read Elements",
                        "operationId": "read_elements_elements__get",
                        "deprecated": True,
                    }
                },
            },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. tests/test_orjson_response_class.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    from fastapi.testclient import TestClient
    from sqlalchemy.sql.elements import quoted_name
    
    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/orjson_non_str_keys")
    def get_orjson_non_str_keys():
        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Sep 02 10:17:31 GMT 2022
    - 562 bytes
    - Viewed (0)
  4. docs/en/docs/css/custom.css

      content: '';
      position: absolute;
      top: 15px;
      left: 15px;
      display: inline-block;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      /* A little hack to display the window buttons in one pseudo element. */
      background: #d9515d;
      -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
              box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
    CSS
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

            return new Promise(resolve => setTimeout(resolve, time));
        }
    
        /**
         * Converts line data objects into line elements.
         *
         * @param {Object[]} lineData - Dynamically loaded lines.
         * @param {Object} line - Line data object.
         * @returns {Element[]} - Array of line elements.
         */
        lineDataToElements(lineData) {
            return lineData.map(line => {
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  6. docs/en/docs/css/termynal.css

        position: absolute;
        top: 15px;
        left: 15px;
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        /* A little hack to display the window buttons in one pseudo element. */
        background: #d9515d;
        -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
                box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
    }
    
    [data-termynal]:after {
        content: 'bash';
    CSS
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Sep 10 14:28:22 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  7. docs/fr/docs/benchmarks.md

    Mais en prêtant attention aux tests de performance et aux comparaisons, il faut tenir compte de ce qu'il suit.
    
    ## Tests de performance et rapidité
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 27 18:49:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. docs/fr/docs/async.md

        return results
    ```
    
    ---
    
    Si votre application n'a pas à communiquer avec une bibliothèque externe et pas à attendre de réponse, utilisez `async def`.
    
    ---
    
    Si vous ne savez pas, utilisez seulement `def` comme vous le feriez habituellement.
    
    ---
    
    **Note** : vous pouvez mélanger `def` et `async def` dans vos *fonctions de chemin* autant que nécessaire, **FastAPI** saura faire ce qu'il faut avec.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. docs/de/docs/features.md

    ### Validierung
    
    * Validierung für die meisten (oder alle?) Python-**Datentypen**, hierzu gehören:
        * JSON Objekte (`dict`).
        * JSON Listen (`list`), die den Typ ihrer Elemente definieren.
        * Strings (`str`) mit definierter minimaler und maximaler Länge.
        * Zahlen (`int`, `float`) mit Mindest- und Maximal-Werten, usw.
    
    * Validierung für mehr exotische Typen, wie:
        * URL.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    <img src="/img/python-types/image05.png">
    
    Without types, that's almost impossible to achieve.
    
    Notice that the variable `item` is one of the elements in the list `items`.
    
    And still, the editor knows it is a `str`, and provides support for that.
    
    #### Tuple and Set
    
    You would do the same to declare `tuple`s and `set`s:
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top