Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for pets (0.02 sec)

  1. tests/test_response_model_data_filter_no_inheritance.py

    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    @app.get("/pets/", response_model=list[PetOut])
    async def read_pets():
        user = UserDB(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_response_model_data_filter.py

    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    @app.get("/pets/", response_model=list[PetOut])
    async def read_pets():
        user = UserDB(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. tests/generics_test.go

    			}
    		} else if len(result.Pets) != 5 {
    			t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets)
    		}
    		for i := 1; i < len(result.Pets); i++ {
    			if result.Pets[i-1].Name < result.Pets[i].Name {
    				t.Fatalf("Preload user %v pets not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i])
    			}
    		}
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         */
        public String getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this sitemap entry.
         * @param priority the priority to set
         */
        public void setPriority(final String priority) {
            this.priority = priority;
        }
    
        /**
         * Gets the list of images associated with this URL.
         * @return the list of images, or an empty list if none
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

        }
    
        /**
         * Gets the title of the video.
         * @return the title
         */
        public String getTitle() {
            return title;
        }
    
        /**
         * Sets the title of the video.
         * @param title the title to set
         */
        public void setTitle(final String title) {
            this.title = title;
        }
    
        /**
         * Gets the description of the video.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java

        }
    
        /**
         * Gets the location URL of the image.
         * @return the image URL
         */
        public String getLoc() {
            return loc;
        }
    
        /**
         * Sets the location URL of the image.
         * @param loc the image URL to set
         */
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    
        /**
         * Gets the caption of the image.
         * @return the caption
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        /**
         * Gets the content of the response using the provided parser function.
         *
         * @param <T> the type of the parsed content.
         * @param parser the function to parse the content.
         * @return the parsed content.
         */
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        /**
         * Gets the content of the response as a string.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            return apiResponseFieldSet.contains(field);
        }
    
        /**
         * Gets the fields that are included in standard search responses.
         *
         * @return array of field names for standard search responses
         */
        public String[] getResponseFields() {
            return responseFields;
        }
    
        /**
         * Sets the fields that are included in standard search responses.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        protected String getCharSet(final File file) {
            return charset;
        }
    
        /**
         * Gets the character encoding used for FTP operations.
         *
         * @return The character encoding
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * Sets the character encoding used for FTP operations.
         *
         * @param charset The character encoding to set
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

            }
    
            propertyMap.put(key, value);
        }
    
        /**
         * Gets the map of parser features.
         *
         * @return the feature map
         */
        public Map<String, String> getFeatureMap() {
            return featureMap;
        }
    
        /**
         * Sets the map of parser features.
         *
         * @param featureMap the feature map to set
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top