Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 521 for DETAIL (0.04 sec)

  1. 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)
  2. 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)
  3. docs_src/sql_databases/tutorial002_py310.py

        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.patch("/heroes/{hero_id}", response_model=HeroPublic)
    def update_hero(
        hero_id: int, hero: HeroUpdate, session: Session = Depends(get_session)
    ):
        hero_db = session.get(Hero, hero_id)
        if not hero_db:
            raise HTTPException(status_code=404, detail="Hero not found")
        hero_data = hero.model_dump(exclude_unset=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs_src/custom_request_and_route/tutorial002_py39.py

                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 926 bytes
    - Viewed (0)
  5. 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)
  6. tests/test_path.py

        assert response.json() == "Hello World"
    
    
    def test_nonexistent():
        response = client.get("/nonexistent")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Not Found"}
    
    
    def test_path_foobar():
        response = client.get("/path/foobar")
        assert response.status_code == 200
        assert response.json() == "foobar"
    
    
    def test_path_str_foobar():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 20.5K bytes
    - Viewed (1)
  7. tests/test_request_params/test_header/test_required_str.py

    )
    def test_required_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["header", "p"],
                    "msg": "Field required",
                    "input": AnyThing,
                }
            ]
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body/test_tutorial003.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
    - 5.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExecutionTimeoutException.java

     */
    public class ExecutionTimeoutException extends ExtractException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause (which is saved for later retrieval by the {@link Throwable#getCause()} method)
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/SitemapsException.java

         * @param message the detail message
         * @param cause the cause of the exception
         */
        public SitemapsException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SitemapsException 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.7K bytes
    - Viewed (0)
Back to top