Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for 32 (0.17 sec)

  1. docs/en/docs/img/deployment/https/https02.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.4K bytes
    - Viewed (0)
  2. docs/en/docs/img/deployment/https/https04.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 14K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_py310.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jose import JWTError, jwt
    from passlib.context import CryptContext
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/testing-database.md

    ```
    
    !!! tip "提示"
    
        `overrider_get_db()` 与 `get_db` 的代码几乎完全一样,只是 `overrider_get_db` 中使用测试数据库的 `TestingSessionLocal`。
    
    ## 测试应用
    
    然后,就可以正常测试了。
    
    ```Python hl_lines="32-47"
    {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 18:09:26 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body-updates.md

    Sie können das verwenden, um ein `dict` zu erstellen, das nur die (im Request) gesendeten Daten enthält, ohne Defaultwerte:
    
    === "Python 3.10+"
    
        ```Python hl_lines="32"
        {!> ../../../docs_src/body_updates/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="34"
        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:37 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/security/get-current-user.md

    しかし、同じセキュリティシステムを使って何千ものエンドポイント(*path operations*)を持つことができます。
    
    そして、それらエンドポイントのすべて(必要な、どの部分でも)がこうした依存関係や、あなたが作成する別の依存関係を再利用する利点を享受できるのです。
    
    さらに、こうした何千もの *path operations* は、たった3行で表現できるのです:
    
    ```Python hl_lines="30-32"
    {!../../../docs_src/security/tutorial002.py!}
    ```
    
    ## まとめ
    
    これで、 *path operation関数* の中で直接現在のユーザーを取得できるようになりました。
    
    既に半分のところまで来ています。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 18:36:35 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/get-current-user.md

    Und alle diese Tausenden von *Pfadoperationen* können nur drei Zeilen lang sein:
    
    === "Python 3.10+"
    
        ```Python hl_lines="30-32"
        {!> ../../../docs_src/security/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="30-32"
        {!> ../../../docs_src/security/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="31-33"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:08:05 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. docs/en/docs/img/deployment/https/https07.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. docs/en/docs/img/deployment/https/https05.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 15.6K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https03.drawio

                        <mxGeometry x="60" y="27" width="380" height="250" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 12.3K bytes
    - Viewed (0)
Back to top