Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 296 for converties (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

    import org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter;
    import org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter;
    import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
    import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Longs.java

          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      /**
       * Returns a serializable converter object that converts between strings and longs using {@link
       * Long#decode} and {@link Long#toString()}. The returned converter throws {@link
       * NumberFormatException} if the input string is invalid.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Enums.java

            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-directly.md

    Por ejemplo, no puedes poner un modelo Pydantic en una `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc) convertidos a tipos compatibles con JSON.
    
    Para esos casos, puedes usar el `jsonable_encoder` para convertir tus datos antes de pasarlos a la respuesta:
    
    ```Python hl_lines="4 6 20 21"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "Detalles Técnicos"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. docs/fr/docs/python-types.md

    Vous déclarez la forme de la donnée avec des classes et des attributs.
    
    Chaque attribut possède un type.
    
    Puis vous créez une instance de cette classe avec certaines valeurs et **Pydantic** validera les valeurs, les convertira dans le type adéquat (si c'est nécessaire et possible) et vous donnera un objet avec toute la donnée.
    
    Ainsi, votre éditeur vous offrira un support adapté pour l'objet résultant.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body-nested-models.md

    Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
    
    Mas você também não precisa se preocupar com eles, os dicts de entrada são convertidos automaticamente e sua saída é convertida automaticamente para JSON também.
    
    ## Corpos de `dict`s arbitrários
    
    Você também pode declarar um corpo como um `dict` com chaves de algum tipo e valores de outro tipo.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

        In this case, it's a list of `Item` dataclasses.
    
    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params.md

    But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it.
    
    All the same process that applied for path parameters also applies for query parameters:
    
    * Editor support (obviously)
    * Data <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>
    * Data validation
    * Automatic documentation
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    omponent.configurator.ComponentConfigurati; } org/codehaus/plexus/component/configurator/converters/basic/Converter.class package org.codehaus.plexus.component.configurator.converters.basic; public abstract interface Converter { public abstract boolean canConvert(Class); public abstract Object fromString(String); public abstract String toString(Object); } org/codehaus/plexus/component/configurator/converters/basic/DateConverter.class package org.codehaus.plexus.component.configurator.converters.basic;...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 205.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-updates.md

    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    === "Python 3.10+"
    
        ```Python hl_lines="28-35"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top