Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Clements (0.14 sec)

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

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial001.py!}
        ```
    
    Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt.
    
    ## Listen mit Typ-Parametern als Felder
    
    Aber Python erlaubt es, Listen mit inneren Typen, auch „Typ-Parameter“ genannt, zu deklarieren.
    
    ### `List` von `typing` importieren
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial001.py!}
        ```
    
    This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
    
    ## List fields with type parameter
    
    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/fr/docs/features.md

    Mais, **tout fonctionne** par défaut.
    
    ### Validation
    
    * Validation pour la plupart (ou tous?) les **types de données** Python incluant:
        * objets JSON (`dict`).
        * listes JSON (`list`) définissant des types d'éléments.
        * Champs String (`str`), définition de longueur minimum ou maximale.
        * Nombres (`int`, `float`) avec valeur minimale and maximale, etc.
    
    * Validation pour des types plus exotiques, tel que:
        * URL.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/custom-response.md

    Bei umfangreichen Responses ist die direkte Rückgabe einer `Response` viel schneller als ein Dictionary zurückzugeben.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/fr/docs/advanced/additional-status-codes.md

    Par exemple, disons que vous voulez avoir un *chemin d'accès* qui permet de mettre à jour les éléments et renvoie les codes HTTP 200 "OK" en cas de succès.
    
    Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 "Créé".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    Ce qui signifie : "la variable `items` est une `list`, et chacun de ses éléments a pour type `str`.
    
    En faisant cela, votre éditeur pourra vous aider, même pendant que vous traitez des éléments de la liste.
    
    <img src="/img/python-types/image05.png">
    
    Sans types, c'est presque impossible à réaliser.
    
    Vous remarquerez que la variable `item` n'est qu'un des éléments de la list `items`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top