Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for numero (0.14 sec)

  1. tests/test_extra_routes.py

                                    "title": "Price",
                                    "anyOf": [{"type": "number"}, {"type": "null"}],
                                }
                            )
                            # TODO: remove when deprecating Pydantic v1
                            | IsDict({"title": "Price", "type": "number"}),
                        },
                    },
                    "ValidationError": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  2. tests/test_path.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "foobar",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  3. 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.
    
    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)
  4. tests/test_response_model_as_return_annotation.py

                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "price": {"title": "Price", "type": "number"},
                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["name", "surname"],
                        "type": "object",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Aug 14 09:49:57 GMT 2023
    - 47.7K bytes
    - Viewed (0)
Back to top