Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WHERE (0.14 sec)

  1. fastapi/encoders.py

    def decimal_encoder(dec_value: Decimal) -> Union[int, float]:
        """
        Encodes a Decimal as int of there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where a 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
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. fastapi/applications.py

                    ```
                    """
                ),
            ] = "0.1.0",
            openapi_url: Annotated[
                Optional[str],
                Doc(
                    """
                    The URL where the OpenAPI schema will be served from.
    
                    If you set it to `None`, no OpenAPI schema will be served publicly, and
                    the default automatic endpoints `/docs` and `/redoc` will also be
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top