Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for enclosing (0.07 sec)

  1. scripts/translate.py

        lang_prompt_content = lang_prompt_path.read_text(encoding="utf-8")
    
        en_docs_path = Path("docs/en/docs")
        assert str(en_path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        out_path = generate_lang_path(lang=language, path=en_path)
        out_path.parent.mkdir(parents=True, exist_ok=True)
        original_content = en_path.read_text(encoding="utf-8")
        old_translation: str | None = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema")
        example: Optional[Any] = None
        examples: Optional[dict[str, Union[Example, Reference]]] = None
        encoding: Optional[dict[str, Encoding]] = None
    
    
    class ParameterBase(BaseModelWithConfig):
        description: Optional[str] = None
        required: Optional[bool] = None
        deprecated: Optional[bool] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_header_param_models/test_tutorial003.py

                            "host": "testserver",
                            "traceparent": "123",
                            "x_tag": [],
                            "accept": "*/*",
                            "accept-encoding": "gzip, deflate",
                            "connection": "keep-alive",
                            "user-agent": "testclient",
                            "save-data": "true",
                            "if-modified-since": "yesterday",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_param_models/test_tutorial001.py

                        "input": {
                            "x_tag": [],
                            "host": "testserver",
                            "accept": "*/*",
                            "accept-encoding": "gzip, deflate",
                            "connection": "keep-alive",
                            "user-agent": "testclient",
                        },
                    }
                ]
            }
        )
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. fastapi/exceptions.py

        ```
        """
    
        def __init__(
            self,
            code: Annotated[
                int,
                Doc(
                    """
                    A closing code from the
                    [valid codes defined in the specification](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4.1).
                    """
                ),
            ],
            reason: Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. fastapi/encoders.py

        """
        Encodes a Decimal as int if there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where an integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
        >>> decimal_encoder(Decimal("1"))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

    ## Parameter für die Enkodierung des Responsemodells { #response-model-encoding-parameters }
    
    Ihr Responsemodell könnte Defaultwerte haben, wie:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    ### Fixes
    
    * 🐛 Avoid accessing non-existing "$ref" key for Pydantic v2 compat remapping. PR [#14361](https://github.com/fastapi/fastapi/pull/14361) by [@svlandeg](https://github.com/svlandeg).
    * 🐛 Fix `TypeError` when encoding a decimal with a `NaN` or `Infinity` value. PR [#12935](https://github.com/fastapi/fastapi/pull/12935) by [@kentwelcome](https://github.com/kentwelcome).
    
    ### Internal
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  9. fastapi/routing.py

                    status_code=400, detail="There was an error parsing the body"
                )
                raise http_error from e
    
            # Solve dependencies and run path operation function, auto-closing dependencies
            errors: list[Any] = []
            async_exit_stack = request.scope.get("fastapi_inner_astack")
            assert isinstance(async_exit_stack, AsyncExitStack), (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top