Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for The (0.06 sec)

  1. fastapi/exceptions.py

                    application, it is not specified by the WebSocket specification.
    
                    It could contain text that could be human-readable or interpretable
                    by the client code, etc.
                    """
                ),
            ] = None,
        ) -> None:
            super().__init__(code=code, reason=reason)
    
    
    RequestErrorModel: type[BaseModel] = create_model("Request")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. fastapi/encoders.py

                fields to exclude.
                """
            ),
        ] = None,
        by_alias: Annotated[
            bool,
            Doc(
                """
                Pydantic's `by_alias` parameter, passed to Pydantic models to define if
                the output should use the alias names (when provided) or the Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. docs/zh/llm-prompt.md

    ### Grammar and tone
    
    1) Use clear, concise technical Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Simplified Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    3) If a heading contains only the name of a FastAPI feature, do not translate it.
    
    ### Quotes and punctuation
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    should have all the fields, including the ones that have the same value
                    as the default. This is different from `response_model_exclude_unset`
                    in that if the fields are set but contain the same default values,
                    they will be excluded from the response.
    
                    When `True`, default values are omitted from the response.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

                should start (the code before `yield`) and when it should end (the code
                after `yield`).
    
                * `"function"`: start the dependency before the *path operation function*
                    that handles the request, end the dependency after the *path operation
                    function* ends, but **before** the response is sent back to the client.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  6. scripts/translate.py

    sentence, and these additional abbr elements do not exist in the related sentence in the English text, then KEEP those additional abbr elements in the translation. Do not remove them. Except when you remove the whole sentence from the translation, because the whole sentence was removed from the English text, then also remove the abbr element. The reasoning for this rule is, that such additional abbr elements are manually added by the human editor of the translation, in order to translate or explain an English...
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  7. tests/test_get_model_definitions_formfeed_escape.py

        assert response.json() == snapshot(
            {
                "components": {
                    "schemas": {
                        "Address": {
                            # NOTE: the description of this model shows only the public-facing text, before the `\f` in docstring
                            "description": "This is a public description of an Address\n",
                            "properties": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. tests/test_sub_callbacks.py

      ...
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_fields/test_tutorial001.py

                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "description": {
                                "title": "The description of the item",
                                "anyOf": [
                                    {"maxLength": 300, "type": "string"},
                                    {"type": "null"},
                                ],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top