Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 374 for Converter (0.07 seconds)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial006_py310.py hl[19:36, 39:40] *}
    
    In this example, we didn't declare any Pydantic model. In fact, the request body is not even <dfn title="converted from some plain format, like bytes, into Python objects">parsed</dfn> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. 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] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. docs/es/docs/python-types.md

    Porque el editor conoce los tipos de las variables, no solo obtienes autocompletado, también obtienes chequeo de errores:
    
    <img src="/img/python-types/image04.png">
    
    Ahora sabes que debes corregirlo, convertir `age` a un string con `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *}
    
    ## Declaración de tipos { #declaring-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.config;
    
    import java.util.Map;
    
    /**
     * POJO configuration for web authentication that can be converted to
     * either HC4 Hc4Authentication or HC5 Hc5Authentication.
     *
     * <p>This class provides a library-independent way to configure
     * HTTP authentication that works with both Apache HttpComponents 4.x
     * and 5.x clients.</p>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body.md

    ...y declara su tipo como el modelo que creaste, `Item`.
    
    ## Resultados { #results }
    
    Con solo esa declaración de tipo en Python, **FastAPI** hará lo siguiente:
    
    * Leer el body del request como JSON.
    * Convertir los tipos correspondientes (si es necesario).
    * Validar los datos.
        * Si los datos son inválidos, devolverá un error claro e indicado, señalando exactamente dónde y qué fue lo incorrecto.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. 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();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

                }
            });
        }
    
        /**
         * Creates an EditBody from a BadWord entity for API responses.
         *
         * @param entity the BadWord entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final BadWord entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
Back to Top