Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Nash (0.23 sec)

  1. docs/en/docs/tutorial/extra-models.md

    * The **database model** would probably need to have a hashed password.
    
    !!! danger
        Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
        If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ## Multiple models
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  2. docs/en/docs/css/termynal.css

        background: #d9515d;
        -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
                box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
    }
    
    [data-termynal]:after {
        content: 'bash';
        position: absolute;
        color: var(--color-text-subtle);
        top: 5px;
        left: 0;
        width: 100%;
        text-align: center;
    }
    
    a[data-terminal-control] {
        text-align: right;
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. docs/zh/docs/deployment/concepts.md

         在这种情况下,您就不必担心这些。 🤷
    
    
    ### 前面步骤策略的示例
    
    这将在**很大程度上取决于您部署系统的方式**,并且可能与您启动程序、处理重启等的方式有关。
    
    以下是一些可能的想法:
    
    * Kubernetes 中的“Init Container”在应用程序容器之前运行
    * 一个 bash 脚本,运行前面的步骤,然后启动您的应用程序
         * 您仍然需要一种方法来启动/重新启动 bash 脚本、检测错误等。
    
    !!! tip
    
         我将在以后的章节中为您提供使用容器执行此操作的更具体示例:[容器中的 FastAPI - Docker](docker.md){.internal-link target=_blank}。
    
    ## 资源利用率
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/extra-models.md

        ```
    
    ## 🌃
    
    ⚙️ 💗 Pydantic 🏷 & 😖 ➡ 🔠 💼.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. README.md

    ## `fastapi-slim`
    
    If you don't want the extra standard optional dependencies, install `fastapi-slim` instead.
    
    When you install with:
    
    ```bash
    pip install fastapi
    ```
    
    ...it includes the same code and dependencies as:
    
    ```bash
    pip install "fastapi-slim[standard]"
    ```
    
    The standard extra dependencies are the ones mentioned above.
    
    ## License
    
    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)
  6. fastapi/_compat.py

                    by_alias=by_alias,
                    exclude_unset=exclude_unset,
                    exclude_defaults=exclude_defaults,
                    exclude_none=exclude_none,
                )
    
            def __hash__(self) -> int:
                # Each ModelField is unique for our purposes, to allow making a dict from
                # ModelField to its JSON Schema.
                return id(self)
    
        def get_annotation_from_field_info(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. scripts/lint.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    mypy fastapi
    ruff check fastapi tests docs_src scripts
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 00:03:14 GMT 2024
    - 125 bytes
    - Viewed (0)
  8. .github/workflows/test.yml

            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version:
              - "3.12"
              - "3.11"
              - "3.10"
              - "3.9"
              - "3.8"
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

        And be compatible with all of them at the same time.
    
    Create a utility function to hash a password coming from the user.
    
    And another utility to verify if a received password matches the hash stored.
    
    And another one to authenticate and return a user.
    
    === "Python 3.10+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. .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 May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top