Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 292 for Converter (0.05 sec)

  1. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    You could pass a `dict`, a `list`, etc.
    
    They are handled automatically by **FastAPI** and converted to JSON.
    
    ///
    
    ## Add custom headers { #add-custom-headers }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

        }
    
        /**
         * Creates an EditBody from a Role entity.
         *
         * @param entity the role entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final Role entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

        }
    
        /**
         * Creates an EditBody from a KuromojiItem entity for API responses.
         *
         * @param entity the KuromojiItem entity to convert
         * @param dictId the dictionary ID
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final KuromojiItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @param errorMessage the exception message to use if the check fails; will be converted to a
       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression, @Nullable Object errorMessage) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

         */
        public Map<K, V> getParent() {
            return parent;
        }
    
        /**
         * Converts a key to camelCase.
         *
         * @param key the key to convert
         * @return the converted key
         */
        protected Object toCamelCase(final Object key) {
            if (key == null) {
                return key;
            }
            String keyStr = key.toString();
            if (keyStr.indexOf('_') < 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    type collectorPath string
    
    // metricPrefix converts a collector path to a metric name prefix. The path is
    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), SlashSeparator)
    	s = strings.ReplaceAll(s, SlashSeparator, "_")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

        }
    
        /**
         * Creates an EditBody from a CrawlingInfo entity for API responses.
         *
         * @param entity the CrawlingInfo entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final CrawlingInfo entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        /**
         * Creates an EditBody from a StopwordsItem entity for API responses.
         *
         * @param entity the StopwordsItem entity to convert
         * @param dictId the dictionary ID
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final StopwordsItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it { #use-it }
    
    Now you can declare your dependency using this class.
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        /**
         * Converts an object to the specified class type.
         * @param <T> The target type.
         * @param value The object to convert.
         * @param clazz The class type to convert to.
         * @return The converted object.
         */
        @SuppressWarnings("unchecked")
        protected <T> T convertObj(final Object value, final Class<T> clazz) {
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top