Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Deprecated (0.18 sec)

  1. tests/test_regex_deprecated_params.py

    Sebastián Ramírez <******@****.***> 1713469257 -0500
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. tests/test_deprecated_openapi_prefix.py

    Sebastián Ramírez <******@****.***> 1688149516 +0200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. tests/test_regex_deprecated_body.py

    Sebastián Ramírez <******@****.***> 1713469257 -0500
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-operation-configuration.md

    ## Deprecate a *path operation*
    
    If you need to mark a *path operation* as <abbr title="obsolete, recommended not to use it">deprecated</abbr>, but without removing it, pass the parameter `deprecated`:
    
    ```Python hl_lines="16"
    {!../../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    It will be clearly marked as deprecated in the interactive docs:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. docs_src/query_params_str_validations/tutorial010_an_py39.py

                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 635 bytes
    - Viewed (0)
  7. fastapi/applications.py

                str,
                Doc(
                    """
                    A URL prefix for the OpenAPI URL.
                    """
                ),
                deprecated(
                    """
                    "openapi_prefix" has been deprecated in favor of "root_path", which
                    follows more closely the ASGI standard, is simpler, and more
                    automatic.
                    """
                ),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial010_an_py310.py

                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 622 bytes
    - Viewed (0)
  9. fastapi/routing.py

                        description=route.description,
                        response_description=route.response_description,
                        responses=combined_responses,
                        deprecated=route.deprecated or deprecated or self.deprecated,
                        methods=route.methods,
                        operation_id=route.operation_id,
                        response_model_include=route.response_model_include,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/path-operation-configuration.md

    <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image03.png">
    
    ## 非推奨の*path operation*
    
    *path operation*を<abbr title="非推奨、使わない方がよい">deprecated</abbr>としてマークする必要があるが、それを削除しない場合は、`deprecated`パラメータを渡します:
    
    ```Python hl_lines="16"
    {!../../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    対話的ドキュメントでは非推奨と明記されます:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:38:26 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top