Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,904 for Detail (0.04 sec)

  1. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial004.py

        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_login_incorrect_username(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py

                    "HTTPValidationError": {
                        "properties": {
                            "detail": {
                                "items": {
                                    "$ref": "#/components/schemas/ValidationError",
                                },
                                "title": "Detail",
                                "type": "array",
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

         */
        public void addLanguage(final String lang) {
            languages.add(lang);
        }
    
        /**
         * Sets the detail flag.
         * @param detail The detail flag.
         */
        public void setDetail(final boolean detail) {
            this.detail = detail;
        }
    
        /**
         * Adds an exclude word.
         * @param excludeWord The word to exclude.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial008b_py39.py

        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
        item = data[item_id]
        if item["owner"] != username:
            raise OwnerError(username)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 735 bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/RobotsTxtException.java

         * @param message the detail message
         * @param cause the cause of the exception
         */
        public RobotsTxtException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new RobotsTxtException with the specified detail message.
         * @param message the detail message
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_py310/test_main.py

        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tests/test_request_param_model_by_alias.py

        assert response.status_code == 422, response.text
        details = response.json()
        assert details["detail"][0]["input"] == {"param": "value"}
    
    
    def test_header_model_with_alias_by_name():
        client = TestClient(app)
        response = client.get("/header", headers={"param": "value"})
        assert response.status_code == 422, response.text
        details = response.json()
        assert details["detail"][0]["input"] == IsPartialDict({"param": "value"})
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_py310.py

                    detail="Not enough permissions",
                    headers={"WWW-Authenticate": authenticate_value},
                )
        return user
    
    
    async def get_current_active_user(
        current_user: User = Security(get_current_user, scopes=["me"]),
    ):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top