Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 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. 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.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

            RELEASE_OR_SNAPSHOT
        }
    
        /**
         * Gets the artifact coordinates whose version range should be resolved.
         * The coordinates may contain a version range (e.g., "[1.0,2.0)") or a single version.
         *
         * @return the artifact coordinates, never {@code null}
         */
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        /**
         * Gets the nature of repositories to query when resolving the version range.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         */
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    
        /**
         * Gets the Fess configuration instance.
         *
         * @return the Fess configuration object
         */
        FessConfig getFessConfig();
    
        /**
         * Gets the logger instance for this transformer.
         *
         * @return the logger instance
         */
        Logger getLogger();
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

                }
            }
            return Charset.forName(encoding);
        }
    
        /**
         * Sets the encoding for CSV files.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
         * Sets the maximum number of rows to extract.
         *
         * @param maxRows the maximum rows
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/StorageClient.java

         */
        List<StorageItem> listObjects(String prefix, int maxItems);
    
        /**
         * Gets tags/metadata for an object.
         *
         * @param objectName the name/path of the object
         * @return map of tag key-value pairs
         */
        Map<String, String> getObjectTags(String objectName);
    
        /**
         * Sets tags/metadata for an object.
         *
         * @param objectName the name/path of the object
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. 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()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                this.nonce = nonce;
                this.expiration = expiration;
            }
    
            /**
             * Gets the nonce value.
             * @return The nonce.
             */
            public String getNonce() {
                return nonce;
            }
    
            /**
             * Gets the expiration timestamp.
             * @return The expiration timestamp.
             */
            public long getExpiration() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    .execute();
        }
    
        /**
         * Gets the OpenID Connect client secret.
         *
         * @return the client secret
         */
        protected String getOicClientSecret() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_CLIENT_SECRET, StringUtil.EMPTY);
        }
    
        /**
         * Gets the OpenID Connect token server URL.
         *
         * @return the token server URL
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top