Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for recommended (0.2 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

        , πŸš₯ πŸ‘† 🚫 🚚 1️⃣, **FastAPI** πŸ”œ πŸ” πŸ— 1️⃣ "πŸ† πŸ“¨".
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 😒 *➑ πŸ› οΈ*
    
    πŸš₯ πŸ‘† πŸ’ͺ β„’ *➑ πŸ› οΈ* <abbr title="obsolete, recommended not to use it">😒</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: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. fastapi/security/oauth2.py

            "items:read items:write users:read profile openid"
        client_id: optional string. OAuth2 recommends sending the client_id and client_secret (if any)
            using HTTP Basic auth, as: client_id:client_secret
        client_secret: optional string. OAuth2 recommends sending the client_id and client_secret (if any)
            using HTTP Basic auth, as: client_id:client_secret
        """
    
        def __init__(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...or in older code bases you will find:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Advantages of `Annotated`
    
    **Using `Annotated` is recommended** instead of the default value in function parameters, it is **better** for multiple reasons. πŸ€“
    
    The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
        return {"result": result}
    ```
    
    **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.
    
    Read more about it in the new docs: [Advanced User Guide: Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
    
    ### Docs
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  5. docs/en/docs/how-to/nosql-databases-couchbase.md

    hon-sdk/2.5/async-programming.html#asyncio-python-3-5" class="external-link" target="_blank">experimental Python <code>await</code> support</a>, we should declare our function with normal `def` instead of `async def`.
    
    Also, Couchbase recommends not using a single `Bucket` object in multiple "<abbr title="A sequence of code being executed by the program, while at the same time, or at intervals, there can be others being executed too.">thread</abbr>s", so, we can just get the bucket directly...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Both are equivalent and underneath they are the same, but I would recommend `Union` instead of `Optional` because the word "**optional**" would seem to imply that the value is optional, and it actually means "it can be `None`", even if it's not optional and is still required.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. docs/hu/docs/index.md

    ---
    
    "_If anyone is looking to build a production Python API, I would highly recommend **FastAPI**. It is **beautifully designed**, **simple to use** and **highly scalable**, it has become a **key component** in our API first development strategy and is driving many automations and services such as our Virtual TAC Engineer._"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/sql-databases-peewee.md

        If you are just starting, the tutorial [SQL (Relational) Databases](../tutorial/sql-databases.md){.internal-link target=_blank} that uses SQLAlchemy should be enough.
    
        Feel free to skip this.
    
        Peewee is not recommended with FastAPI as it doesn't play well with anything async Python. There are several better alternatives.
    
    !!! info
        These docs assume Pydantic v1.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. README.md

    ---
    
    "_If anyone is looking to build a production Python API, I would highly recommend **FastAPI**. It is **beautifully designed**, **simple to use** and **highly scalable**, it has become a **key component** in our API first development strategy and is driving many automations and services such as our Virtual TAC Engineer._"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top