Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 574 for type (0.14 sec)

  1. tests/test_request_body_parameters_media_type.py

                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  2. tests/test_response_model_sub_types.py

                                        "schema": {
                                            "title": "Response 500 Valid2 Valid2 Get",
                                            "type": "array",
                                            "items": {"type": "integer"},
                                        }
                                    }
                                },
                            },
                        },
                    }
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  3. docs/vi/docs/python-types.md

    # Giới thiệu kiểu dữ liệu Python
    
    Python hỗ trợ tùy chọn "type hints" (còn được gọi là "type annotations").
    
    Những **"type hints"** hay chú thích là một cú pháp đặc biệt cho phép khai báo <abbr title="ví dụ: str, int, float, bool"> kiểu dữ liệu</abbr> của một biến.
    
    Bằng việc khai báo kiểu dữ liệu cho các biến của bạn, các trình soạn thảo và các công cụ có thể hỗ trợ bạn tốt hơn.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. fastapi/_compat.py

        def serialize_sequence_value(*, field: ModelField, value: Any) -> Sequence[Any]:
            origin_type = (
                get_origin(field.field_info.annotation) or field.field_info.annotation
            )
            assert issubclass(origin_type, sequence_types)  # type: ignore[arg-type]
            return sequence_annotation_to_type[origin_type](value)  # type: ignore[no-any-return]
    
        def get_missing_field_error(loc: Tuple[str, ...]) -> Dict[str, Any]:
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. tests/test_generate_unique_id_function.py

                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. tests/test_default_response_class.py

    
    client = TestClient(app)
    
    orjson_type = "application/x-orjson"
    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
        assert response.headers["content-type"] == orjson_type
    
    
    def test_app_override():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial003.py

                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
                                        {"type": "null"},
                                    ],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_optional_description.py

                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
                                        {"type": "null"},
                                    ],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top