Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for deprecated (0.17 sec)

  1. fastapi/params.py

                    "`regex` has been deprecated, please use `pattern` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            current_json_schema_extra = json_schema_extra or extra
            if PYDANTIC_VERSION < "2.7.0":
                self.deprecated = deprecated
            else:
                kwargs["deprecated"] = deprecated
            if PYDANTIC_V2:
                kwargs.update(
    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/fr/docs/tutorial/query-params-str-validations.md

    On utilise alors l'argument `deprecated=True` de `Query` :
    
    ```Python hl_lines="18"
    {!../../../docs_src/query_params_str_validations/tutorial010.py!}
    ```
    
    La documentation le présentera comme il suit :
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    ## Parameter als deprecated ausweisen
    
    Nehmen wir an, Sie mögen diesen Parameter nicht mehr.
    
    Sie müssen ihn eine Weile dort belassen, weil Clients ihn benutzen, aber Sie möchten, dass die Dokumentation klar anzeigt, dass er <abbr title="deprecated – obsolet, veraltet: Es soll nicht mehr verwendet werden">deprecated</abbr> ist.
    
    In diesem Fall fügen Sie den Parameter `deprecated=True` zu `Query` hinzu.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-params-str-validations.md

    ```
    
    ## 非推奨パラメータ
    
    さて、このパラメータが気に入らなくなったとしましょう
    
    それを使っているクライアントがいるので、しばらくは残しておく必要がありますが、ドキュメントには<abbr title="使わない方がよい">非推奨</abbr>と明記しておきたいです。
    
    その場合、`Query`にパラメータ`deprecated=True`を渡します:
    
    ```Python hl_lines="18"
    {!../../../docs_src/query_params_str_validations/tutorial010.py!}
    ```
    
    ドキュメントは以下のようになります:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  5. docs/em/docs/tutorial/query-params-str-validations.md

        ```
    
    ## 😛 🔢
    
    🔜 ➡️ 💬 👆 🚫 💖 👉 🔢 🚫🔜.
    
    👆 ✔️ 👈 ⚫️ 📤 ⏪ ↩️ 📤 👩‍💻 ⚙️ ⚫️, ✋️ 👆 💚 🩺 🎯 🎦 ⚫️ <abbr title="obsolete, recommended not to use it">😢</abbr>.
    
    ⤴️ 🚶‍♀️ 🔢 `deprecated=True` `Query`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/query_params_str_validations/tutorial010.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

        with_info_plain_validator_function,
    )
    from fastapi.logger import logger
    from pydantic import AnyUrl, BaseModel, Field
    from typing_extensions import Annotated, Literal, TypedDict
    from typing_extensions import deprecated as typing_deprecated
    
    try:
        import email_validator
    
        assert email_validator  # make autoflake ignore the unused import
        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    Вы решили оставить его, потому что клиенты всё ещё им пользуются. Но вы хотите отобразить это в документации как <abbr title="устарело, не рекомендуется использовать">устаревший функционал</abbr>.
    
    Тогда для `Query` укажите параметр `deprecated=True`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/query_params_str_validations/tutorial010_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="19"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    Import the tools we need from `passlib`.
    
    Create a PassLib "context". This is what will be used to hash and verify passwords.
    
    !!! tip
        The PassLib context also has functionality to use different hashing algorithms, including deprecated old ones only to allow verifying them, etc.
    
        For example, you could use it to read and verify passwords generated by another system (like Django) but hash any new passwords with a different algorithm like Bcrypt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/response-model.md

    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top