Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for typeID (0.17 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

    * You can check all the valid pydantic data types here: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>.
    
    ## Example
    
    Here's an example *path operation* with parameters using some of the above types.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ... die Query-Parameter:
    
    * `skip`: mit dem Wert `0`
    * `limit`: mit dem Wert `10`
    
    Da sie Teil der URL sind, sind sie „naturgemäß“ Strings.
    
    Aber wenn Sie sie mit Python-Typen deklarieren (im obigen Beispiel als `int`), werden sie zu diesem Typ konvertiert, und gegen diesen validiert.
    
    Die gleichen Prozesse, die für Pfad-Parameter stattfinden, werden auch auf Query-Parameter angewendet:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/extra-data-types.md

    ## Exemplo
    
    Aqui está um exemplo de *operação de rota* com parâmetros utilizando-se de alguns dos tipos acima.
    
    ```Python hl_lines="1  3  12-16"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/extra-data-types.md

    ## Пример
    
    Вот пример *операции пути* с параметрами, который демонстрирует некоторые из вышеперечисленных типов.
    
    === "Python 3.8 и выше"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    === "Python 3.10 и выше"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/extra-data-types.md

        {!> ../../../docs_src/extra_data_types/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  3  13-17"
        {!> ../../../docs_src/extra_data_types/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Бажано використовувати `Annotated` версію, якщо це можливо.
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/get-current-user.md

    Und Sie können alle Modelle und Daten für die Sicherheitsanforderungen verwenden (in diesem Fall ein Pydantic-Modell `User`).
    
    Sie sind jedoch nicht auf die Verwendung von bestimmten Datenmodellen, Klassen, oder Typen beschränkt.
    
    Möchten Sie eine `id` und eine `email` und keinen `username` in Ihrem Modell haben? Kein Problem. Sie können dieselben Tools verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:05 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/extra-data-types.md

    ## 例
    
    ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。
    
    ```Python hl_lines="1 2 12-16"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます:
    
    ```Python hl_lines="18 19"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/zh/docs/python-types.md

    现在假设我们又一次正在创建这个函数,这次添加了类型提示。
    
    在同样的地方,通过 `Ctrl+Space` 触发自动补全,你会发现:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image02.png">
    
    这样,你可以滚动查看选项,直到你找到看起来眼熟的那个:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image03.png">
    
    ## 更多动机
    
    下面是一个已经有类型提示的函数:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/es/docs/python-types.md

    <img src="https://fastapi.tiangolo.com/img/python-types/image02.png">
    
    Con esto puedes moverte hacia abajo viendo las opciones hasta que encuentras una que te suene:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image03.png">
    
    ## Más motivación
    
    Mira esta función que ya tiene type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/pt/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    Com isso, você pode rolar, vendo as opções, até encontrar o que "toca uma campainha":
    
    <img src="/img/python-types/image03.png">
    
    ## Mais motivação
    
    Marque esta função, ela já possui type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top