Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,039 for params (0.3 sec)

  1. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  2. docs/de/docs/tutorial/header-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:00:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/query-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    Bu durumda, `q` fonksiyon parametresi isteğe bağlı olacak ve varsayılan değer olarak `None` alacaktır.
    
    !!! check "Ek bilgi"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    In diesem Fall wird der Funktionsparameter `q` optional, und standardmäßig `None` sein.
    
    !!! check
    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)
  5. docs/em/docs/tutorial/query-params.md

        {!> ../../../docs_src/query_params/tutorial006.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="8"
        {!> ../../../docs_src/query_params/tutorial006_py310.py!}
        ```
    
    👉 💼, 📤 3️⃣ 🔢 🔢:
    
    * `needy`, ✔ `str`.
    * `skip`, `int` ⏮️ 🔢 💲 `0`.
    * `limit`, 📦 `int`.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/path-params.md

    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003.py!}
    ```
    
    Aksi halde, `/users/{user_id}` yolu `"me"` değerinin `user_id` parametresi için gönderildiğini "düşünerek" `/users/me` ile de eşleşir.
    
    Benzer şekilde, bir yol operasyonunu yeniden tanımlamanız mümkün değildir:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003b.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/cookie-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ Annotated가 없는 경우"
    
        !!! tip "팁"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 10:34:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/cookie-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/cookie_params/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/cookie_params/tutorial001.py!}
        ```
    
    !!! note "Технические детали"
        `Cookie` - это класс, родственный `Path` и `Query`. Он также наследуется от общего класса `Param`.
    
    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)
  9. docs/pt/docs/tutorial/query-params.md

    Da mesma forma, você pode declarar parâmetros de consulta opcionais, definindo o valor padrão para `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    Nesse caso, o parâmetro da função `q` será opcional, e `None` será o padrão.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/query-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    В этом случае, параметр  `q` будет не обязательным и будет иметь значение `None` по умолчанию.
    
    !!! check "Важно"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top