Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 277 for Query (0.13 sec)

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

        {!> ../../../docs_src/path_params_numeric_validations/tutorial006.py!}
        ```
    
    ## Резюме
    
    С помощью `Query`, `Path` (и других классов, которые мы пока не затронули) вы можете добавлять метаданные и строковую валидацию тем же способом, как и в главе [Query-параметры и валидация строк](query-params-str-validations.md){.internal-link target=_blank}.
    
    А также вы можете добавить валидацию числовых данных:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-fields.md

    ## Declare atributos do modelo
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    ```Python hl_lines="11-14"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc.
    
    !!! note "Detalhes técnicos"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 15:00:11 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/cookie-params.md

    !!! note "Технические детали"
        `Cookie` - это класс, родственный `Path` и `Query`. Он также наследуется от общего класса `Param`.
    
        Но помните, что когда вы импортируете `Query`, `Path`, `Cookie` и другое из `fastapi`, это фактически функции, которые возвращают специальные классы.
    
    !!! info "Дополнительная информация"
        Для объявления cookies, вам нужно использовать `Cookie`, иначе параметры будут интерпретированы как параметры запроса.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/path-params-numeric-validations.md

        {!> ../../../docs_src/path_params_numeric_validations/tutorial006.py!}
        ```
    
    ## Zusammenfassung
    
    Mit `Query` und `Path` (und anderen, die Sie noch nicht gesehen haben) können Sie Metadaten und Stringvalidierungen deklarieren, so wie in [Query-Parameter und Stringvalidierungen](query-params-str-validations.md){.internal-link target=_blank} beschrieben.
    
    Und Sie können auch Validierungen für Zahlen deklarieren:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          ) {
            builder.query("a${value}z")
          }
    
          override operator fun get(url: HttpUrl): String {
            val query = url.query
            return query!!.substring(1, query.length - 1)
          }
        },
    
        QUERY_VALUE {
          override fun urlString(value: String): String = "http://example.com/?q=a${value}z"
    
          override fun encodedValue(url: HttpUrl): String {
            val query = url.encodedQuery
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/cookie-params.md

    Você pode definir parâmetros de Cookie da mesma maneira que define paramêtros com `Query` e `Path`.
    
    ## Importe `Cookie`
    
    Primeiro importe `Cookie`:
    
    ```Python hl_lines="3"
    {!../../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ## Declare parâmetros de `Cookie`
    
    Então declare os paramêtros de cookie usando a mesma estrutura que em `Path` e `Query`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue May 10 00:09:54 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## 🌃
    
    ⏮️ `Query`, `Path` (& 🎏 👆 🚫 👀) 👆 💪 📣 🗃 & 🎻 🔬 🎏 🌌 ⏮️ [🔢 🔢 & 🎻 🔬](query-params-str-validations.md){.internal-link target=_blank}.
    
    & 👆 💪 📣 🔢 🔬:
    
    * `gt`: `g`🅾 `t`👲
    * `ge`: `g`🅾 🌘 ⚖️ `e`🅾
    * `lt`: `l`👭 `t`👲
    * `le`: `l`👭 🌘 ⚖️ `e`🅾
    
    !!! info
        `Query`, `Path`, & 🎏 🎓 👆 🔜 👀 ⏪ 🏿 ⚠ `Param` 🎓.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-fields.md

    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    `Field`は`Query`や`Path`、`Body`と同じように動作し、全く同様のパラメータなどを持ちます。
    
    !!! note "技術詳細"
        実際には次に見る`Query`や`Path`などは、共通の`Param`クラスのサブクラスのオブジェクトを作成しますが、それ自体はPydanticの`FieldInfo`クラスのサブクラスです。
    
        また、Pydanticの`Field`は`FieldInfo`のインスタンスも返します。
    
        `Body`は`FieldInfo`のサブクラスのオブジェクトを直接返すこともできます。そして、他にも`Body`クラスのサブクラスであるものがあります。
    
        `fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:33:28 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/cookie-params.md

        `Cookie` is a "sister" class of `Path` and `Query`. It also inherits from the same common `Param` class.
    
        But remember that when you import `Query`, `Path`, `Cookie` and others from `fastapi`, those are actually functions that return special classes.
    
    !!! info
        To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ## Recap
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/cookie-params.md

        `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
        Pero recuerda que cuando importas `Query`, `Path`, `Cookie`  y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    !!! info
        Para declarar cookies, necesitas usar `Cookie`, porque de lo contrario los parámetros serían interpretados como parámetros de query.
    
    ## Resumen
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 19:30:26 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top