Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 113 for pets (0.02 seconds)

  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(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (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(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. 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.
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Sets the configuration settings for the search engine.
         *
         * @param settings map of configuration key-value pairs
         */
        public void setSettings(final Map<String, String> settings) {
            this.settings = settings;
        }
    
        /**
         * Gets the current cluster health status.
         *
         * @return the cluster health status name
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 122.4K bytes
    - Click Count (1)
  5. 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
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                }
            });
        }
    
        /**
         * Gets the username of the current user.
         *
         * @return The username, or "guest" if not logged in.
         */
        public String getUsername() {
            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
         * Gets the request manager.
         *
         * @return The request manager.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 08:30:43 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }, "ThumbnailMigrator").start();
        }
    
        /**
         * Sets the thumbnail path cache size.
         *
         * @param thumbnailPathCacheSize the cache size to set
         */
        public void setThumbnailPathCacheSize(final int thumbnailPathCacheSize) {
            this.thumbnailPathCacheSize = thumbnailPathCacheSize;
        }
    
        /**
         * Sets the image file extension for thumbnails.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

         */
        @Resource
        protected ScheduledJobBhv scheduledJobBhv;
    
        /**
         * The Fess configuration.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Gets a list of scheduled jobs based on the pager.
         * @param scheduledJobPager The pager for scheduled jobs.
         * @return A list of scheduled jobs.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

            queryMap.values().stream().distinct().forEach(facetInfo::addQuery);
        }
    
        /**
         * Gets the title for this facet query view.
         *
         * @return the title string
         */
        public String getTitle() {
            return title;
        }
    
        /**
         * Sets the title for this facet query view.
         *
         * @param title the title to set
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        /**
         * Default constructor.
         */
        public FessXpathTransformer() {
            super();
        }
    
        /**
         * Initializes the transformer after dependency injection.
         * Sets up the Fess configuration and data serializer components.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 54.6K bytes
    - Click Count (0)
Back to Top