Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Nash (0.21 sec)

  1. scripts/publish.sh

    #!/usr/bin/env bash
    
    set -e
    
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 20 18:09:35 GMT 2019
    - 42 bytes
    - Viewed (0)
  2. docs_src/security/tutorial004_an_py310.py

    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an.py

    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. .github/workflows/test-redistribute.yml

            run: |
              cd dist/fastapi-*/
              pip install -r requirements-tests.txt
          - name: Run source distribution tests
            run: |
              cd dist/fastapi-*/
              bash scripts/test.sh
          - name: Build wheel distribution
            run: |
              cd dist
              pip wheel --no-deps fastapi-*.tar.gz
          - name: Dump GitHub context
            env:
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 28 23:28:07 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/nosql-databases-couchbase.md

    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
        "hashed_password": "some_hash",
    }
    ```
    
    It will be passed to `UserInDB` as:
    
    ```Python
    UserInDB(username="johndoe", hashed_password="some_hash")
    ```
    
    ## Create your **FastAPI** code
    
    ### Create the `FastAPI` app
    
    ```Python hl_lines="46"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. scripts/test.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    export PYTHONPATH=./docs_src
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 99 bytes
    - Viewed (3)
  7. docs_src/security/tutorial004_py310.py

    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/extra-models.md

    !!! danger "Gefahr"
        Speichern Sie niemals das Klartext-Passwort eines Benutzers. Speichern Sie immer den „sicheren Hash“, den Sie verifizieren können.
    
        Falls Ihnen das nichts sagt, in den [Sicherheits-Kapiteln](security/simple-oauth2.md#passwort-hashing){.internal-link target=_blank} werden Sie lernen, was ein „Passwort-Hash“ ist.
    
    ## Mehrere Modelle
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/ja/docs/advanced/nosql-databases.md

    例えば`dict`が下記のようになっていた場合:
    
    ```Python
    {
        "username": "johndoe",
        "hashed_password": "some_hash",
    }
    ```
    
    `UserInDB`には次のように渡されます:
    
    ```Python
    UserInDB(username="johndoe", hashed_password="some_hash")
    ```
    
    ## **FastAPI** コードの実装
    
    ### `FastAPI` app の作成
    
    ```Python hl_lines="46"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Thu Aug 18 15:54:22 GMT 2022
    - 7K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/extra-models.md

        {!> ../../../docs_src/extra_models/tutorial005.py!}
        ```
    
    ## 小结
    
    针对不同场景,可以随意使用不同的 Pydantic 模型继承定义的基类。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top