Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 521 for DETAIL (0.16 sec)

  1. docs_src/sql_databases/tutorial002_py39.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.6K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/RuntimeCIFSException.java

        /**
         * Constructs a runtime CIFS exception with no detail message.
         */
        public RuntimeCIFSException() {
        }
    
        /**
         * Constructs a runtime CIFS exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/exception/LdapOperationException.java

         * Constructs a new LDAP operation exception with the specified detail message and cause.
         *
         * @param message The detail message.
         * @param cause The cause.
         */
        public LdapOperationException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new LDAP operation exception with the specified detail message.
         *
         * @param message The detail message.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
        public CIFSUnsupportedCryptoException() {
        }
    
        /**
         * Constructs a CIFS unsupported crypto exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/TransportException.java

        private static final long serialVersionUID = 3743631204022885618L;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         * @param msg the detail message
         */
        public TransportException(final String msg) {
            super(msg);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. docs_src/app_testing/app_b_an_py39/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: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbException.java

         * Constructs an SmbException with the specified detail message
         *
         * @param msg the detail message
         */
        public SmbException(final String msg) {
            super(msg);
            this.status = NT_STATUS_UNSUCCESSFUL;
        }
    
        /**
         * Constructs an SmbException with the specified detail message and root cause
         *
         * @param msg the detail message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top