Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 8021 (0.19 sec)

  1. docs/zh/docs/tutorial/sql-databases.md

    因此在创建时也应当有一个`password`属性。
    
    但是为了安全起见,`password`不会出现在其他同类 Pydantic*模型*中,例如用户请求时不应该从 API 返回响应中包含它。
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. tests/test_serialize_response_dataclass.py

        return [
            Item(name="foo", date=datetime(2021, 7, 26)),
            Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
            Item(name="baz", date=datetime(2021, 7, 26), price=2.0, owner_ids=[1, 2, 3]),
        ]
    
    
    @app.get("/items/no-response-model/object")
    def get_no_response_model_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 26 13:56:47 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/sql-databases.md

        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    #### 🇸🇲 👗 & Pydantic 👗
    
    👀 👈 🇸🇲 *🏷* 🔬 🔢 ⚙️ `=`, & 🚶‍♀️ 🆎 🔢 `Column`, 💖:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  4. docs/en/docs/release-notes.md

    * 🐛 Fix support for prefix on APIRouter WebSockets. PR [#2640](https://github.com/tiangolo/fastapi/pull/2640) by [@Kludex](https://github.com/Kludex).
    
    ### Upgrades
    
    * ⬆️ Update ujson ranges for CVE-2021-45958. PR [#4804](https://github.com/tiangolo/fastapi/pull/4804) by [@tiangolo](https://github.com/tiangolo).
    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_src/nosql_databases/tutorial001.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    USERPROFILE_DOC_TYPE = "userprofile"
    
    
    def get_bucket():
        cluster = Cluster(
            "couchbase://couchbasehost:8091?fetch_mutation_tokens=1&operation_timeout=30&n1ql_timeout=300"
        )
        authenticator = PasswordAuthenticator("username", "password")
        cluster.authenticate(authenticator)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

        title: 5 Advanced Features of FastAPI You Should Try
      - author: Kaustubh Gupta
        author_link: https://medium.com/@kaustubhgupta1828/
        link: https://www.analyticsvidhya.com/blog/2021/06/deploying-ml-models-as-api-using-fastapi-and-heroku/
        title: Deploying ML Models as API Using FastAPI and Heroku
      - link: https://jarmos.netlify.app/posts/using-github-actions-to-deploy-a-fastapi-project-to-heroku/
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  7. docs/en/docs/tutorial/sql-databases.md

    But for security, the `password` won't be in other Pydantic *models*, for example, it won't be sent from the API when reading a user.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top