Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 299 for Converted (0.11 seconds)

  1. docs/pt/docs/advanced/response-change-status-code.md

    Mas se o dado não existir, você quer criá-lo e retornar um código de status HTTP de "CREATED" `201`.
    
    Mas você ainda quer ser capaz de filtrar e converter o dado que você retornará com um `response_model`.
    
    Para estes casos, você pode utilizar um parâmetro `Response`.
    
    ## Use um parâmetro `Response` { #use-a-response-parameter }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          T defaultType = (T) getFirstTypeParameter(type.getType());
          return defaultType;
        }
        if (type.getRawType() == Converter.class) {
          TypeToken<?> convertFromType = type.resolveType(Converter.class.getTypeParameters()[0]);
          TypeToken<?> convertToType = type.resolveType(Converter.class.getTypeParameters()[1]);
          @SuppressWarnings("unchecked") // returns default for both F and T
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/encoder.md

    # Codificador Compatível com JSON { #json-compatible-encoder }
    
    Existem alguns casos em que você pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatível com JSON (como um `dict`, `list`, etc).
    
    Por exemplo, se você precisar armazená-lo em um banco de dados.
    
    Para isso, **FastAPI** fornece uma função `jsonable_encoder()`.
    
    ## Usando a função `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. docs/pt/docs/python-types.md

    * **Verificações de tipo**.
    
    ... e o **FastAPI** usa as mesmas declarações para:
    
    * **Definir requisitos**: dos parâmetros de rota, parâmetros da consulta, cabeçalhos, corpos, dependências, etc.
    * **Converter dados**: da solicitação para o tipo necessário.
    * **Validar dados**: provenientes de cada solicitação:
        * Gerando **erros automáticos** retornados ao cliente quando os dados são inválidos.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.21.md

    - The `EndpointSlice` API is now GA. The `EndpointSlice` topology field has been removed from the GA API and will be replaced by a new per Endpoint Zone field. If the topology field was previously used, it will be converted into an annotation in the v1 Resource. The `discovery.k8s.io/v1alpha1` API is removed. ([#99662](https://github.com/kubernetes/kubernetes/pull/99662), [@swetharepakula](https://github.com/swetharepakula))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            assertEquals(0, results.length);
            assertNull(response.getLastName());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with converter offset")
        void testReadDataWireFormatWithConverter() throws Exception {
            // Set converter to test offset calculation
            int converterValue = 100;
            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        }
    
        /**
         * Convert property using appropriate converter.
         */
        private Object convertProperty(
                Class<?> beanType, Class<?> rawPropertyType, Type genericPropertyType, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            ConfigurationConverter converter = lookup.lookupConverterForType(rawPropertyType);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. CLAUDE.md

                    indexName, getSearchAlias(index), getUpdateAlias(index));
    }
    ```
    
    **Exception Handling:**
    ```java
    try {
        converter.init();
    } catch (Exception e) {
        throw new SuggesterException("Failed to initialize converter: "
                                    + converter.getClass().getName(), e);
    }
    ```
    
    **Resource Management:**
    ```java
    try (InputStream is = getClass().getClassLoader()
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top