Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for ranges (0.22 sec)

  1. fastapi/openapi/utils.py

        "properties": {
            "detail": {
                "title": "Detail",
                "type": "array",
                "items": {"$ref": REF_PREFIX + "ValidationError"},
            }
        },
    }
    
    status_code_ranges: Dict[str, str] = {
        "1XX": "Information",
        "2XX": "Success",
        "3XX": "Redirection",
        "4XX": "Client Error",
        "5XX": "Server Error",
        "DEFAULT": "Default Response",
    }
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. .github/workflows/issue-manager.yml

                  },
                  "changes-requested": {
                    "delay": 2628000,
                    "message": "As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
                  }
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 30 18:46:56 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/handling-errors.md

    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/ja/docs/contributing.md

    ```console
    $ python ./scripts/docs.py live
    
    <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008
    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    </div>
    
    ドキュメントは、`http://127.0.0.1:8008`で提供します。
    
    そうすることで、ドキュメント/ソースファイルを編集し、変更をライブで見ることができます。
    
    #### Typer CLI (任意)
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/docker.md

    And as you would be building the container image again and again during development to check that your code changes are working, there's a lot of accumulated time this would save.
    
    Then, near the end of the `Dockerfile`, we copy all the code. As this is what **changes most frequently**, we put it near the end, because almost always, anything after this step will not be able to use the cache.
    
    ```Dockerfile
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/extra-models.md

    # 更多模型
    
    书接上文,多个关联模型这种情况很常见。
    
    特别是用户模型,因为:
    
    * **输入模型**应该含密码
    * **输出模型**不应含密码
    * **数据库模型**需要加密的密码
    
    !!! danger "危险"
    
        千万不要存储用户的明文密码。始终存储可以进行验证的**安全哈希值**。
    
        如果不了解这方面的知识,请参阅[安全性中的章节](security/simple-oauth2.md#password-hashing){.internal-link target=_blank},了解什么是**密码哈希**。
    
    ## 多个模型
    
    下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
    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)
  7. docs/de/docs/tutorial/extra-models.md

    * Das **Datenbankmodell** sollte wahrscheinlich ein <abbr title='Ein aus scheinbar zufälligen Zeichen bestehender „Fingerabdruck“ eines Textes. Der Inhalt des Textes kann nicht eingesehen werden.'>gehashtes</abbr> Passwort haben.
    
    !!! danger "Gefahr"
        Speichern Sie niemals das Klartext-Passwort eines Benutzers. Speichern Sie immer den „sicheren Hash“, den Sie verifizieren können.
    
    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)
  8. docs/ja/docs/tutorial/extra-models.md

    # モデル - より詳しく
    
    先ほどの例に続き、複数の関連モデルを持つことが一般的です。
    
    これはユーザーモデルの場合は特にそうです。なぜなら:
    
    * **入力モデル** にはパスワードが必要です。
    * **出力モデル**はパスワードをもつべきではありません。
    * **データベースモデル**はおそらくハッシュ化されたパスワードが必要になるでしょう。
    
    !!! danger "危険"
        ユーザーの平文のパスワードは絶対に保存しないでください。常に認証に利用可能な「安全なハッシュ」を保存してください。
    
        知らない方は、[セキュリティの章](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}で「パスワードハッシュ」とは何かを学ぶことができます。
    
    ## 複数のモデル
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 15:36:32 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    ### Create data
    
    Now create utility functions to create data.
    
    The steps are:
    
    * Create a SQLAlchemy model *instance* with your data.
    * `add` that instance object to your database session.
    * `commit` the changes to the database (so that they are saved).
    * `refresh` your instance (so that it contains any new data from the database, like the generated ID).
    
    ```Python hl_lines="18-24  31-36"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. docs/de/docs/python-types.md

    !!! note "Hinweis"
        Wenn Sie ein Python-Experte sind und bereits alles über Typhinweise wissen, überspringen Sie dieses Kapitel und fahren Sie mit dem nächsten fort.
    
    ## Motivation
    
    Fangen wir mit einem einfachen Beispiel an:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Dieses Programm gibt aus:
    
    ```
    John Doe
    ```
    
    Die Funktion macht Folgendes:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top