Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,278 for type2 (0.01 sec)

  1. docs/fr/docs/advanced/response-directly.md

    Par exemple, vous ne pouvez pas mettre un modèle Pydantic dans une `JSONResponse` sans d'abord le convertir en un `dict` avec tous les types de données (comme `datetime`, `UUID`, etc.) convertis en types compatibles avec JSON.
    
    Pour ces cas, vous pouvez spécifier un appel à `jsonable_encoder` pour convertir vos données avant de les passer à une réponse :
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     * </ul>
     *
     * <p>This interface is designed to be extended by specific request types that handle
     * different Maven operations. All implementations must be immutable to ensure thread safety
     * and predictable behavior in concurrent environments.
     *
     * @param <S> the type of ProtoSession associated with this request, allowing for
     *           type-safe session handling in specific request implementations
     *
     * @see ProtoSession
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. docs/en/docs/contributing.md

    ```console
    $ mkdocs serve --dev-addr 127.0.0.1:8008
    ```
    
    ///
    
    #### Typer CLI (optional)
    
    The instructions here show you how to use the script at `./scripts/docs.py` with the `python` program directly.
    
    But you can also use <a href="https://typer.tiangolo.com/typer-cli/" class="external-link" target="_blank">Typer CLI</a>, and you will get autocompletion in your terminal for the commands after installing completion.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Sep 21 11:29:04 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    When defining a <a href="https://docs.pydantic.dev/latest/concepts/types/#unions" class="external-link" target="_blank">`Union`</a>, include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`.
    
    ///
    
    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    ### `Union` in Python 3.10 { #union-in-python-3-10 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        protected final BeanDesc beanDesc;
    
        /** Constructor */
        protected final Constructor<?> constructor;
    
        /** Array of constructor parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** Information about parameterized argument types */
        protected final ParameterizedClassDesc[] parameterizedClassDescs;
    
        /**
         * Constructs an instance.
         *
         * @param beanDesc
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/SubtypeTester.java

          }
        }
      }
    
      private Type getOnlyParameterType() {
        assertThat(method.getGenericParameterTypes()).hasLength(1);
        return method.getGenericParameterTypes()[0];
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

    ///
    
    ## Использовать `Annotated` в типе для параметра `q` { #use-annotated-in-the-type-for-the-q-parameter }
    
    Помните, я уже говорил, что `Annotated` можно использовать для добавления метаданных к параметрам в разделе [Введение в типы Python](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}?
    
    Пришло время использовать его с FastAPI. 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for URI type constraints.
     * This validator checks URI strings against specified protocol types.
     */
    public class UriTypeValidator implements ConstraintValidator<UriType, String> {
    
        /**
         * Default constructor for UriTypeValidator.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         *
         * @param type
         *            the type
         * @param map
         *            a {@link Map} with type variables as keys and type arguments as values for the parameterized type
         * @return a {@link ParameterizedClassDesc} representing the type
         */
        protected static ParameterizedClassDesc createParameterizedClassDesc(final Type type, final Map<TypeVariable<?>, Type> map) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. docs/de/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Ihr Datenmodell erstellen { #create-your-data-model }
    
    Dann deklarieren Sie Ihr Datenmodell als eine Klasse, die von `BaseModel` erbt.
    
    Verwenden Sie Standard-Python-Typen für alle Attribute:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top