Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for converter (0.26 sec)

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

    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)
  2. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
      // an API request to apps/v1beta1 deployments would be converted and sent to the webhook
      // with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. 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
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-headers.md

    ```
    
    Posteriormente, puedes devolver cualquier objeto que necesites, como normalmente harías (un `dict`, un modelo de base de datos, etc).
    
    Si declaraste un `response_model`, este se continuará usando para filtrar y convertir el objeto que devolviste.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 07 12:51:12 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                }
            }
            return result;
        }
    
        public String replaceUrl(final String url) { // for display or url converer
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. logger/sql.go

    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/resources/CLMessages.properties

    ECL0091=Illegal URL({0})
    ECL0094=IllegalArgumentException occurred when value({7}) of class {5}[{6}] is set to {2}[{3}] field({4}) of class({0})[{1}]. Target class is ({8})[{9}].
    ECL0097=Value({1}) of property({0}) can not be converted. because {2}.
    ECL0098=Exception occurred when value({7}) of class{5}[{6}] is set to {2}[{3}] property({4}) of class({0})[{1}]. Target class is ({8})[{9}].
    ECL0099=Field({1}) of class({0}) is not a static field.
    Properties
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/dataclasses.md

    You can also use `dataclasses` in the `response_model` parameter:
    
    ```Python hl_lines="1  7-13  19"
    {!../../../docs_src/dataclasses/tutorial002.py!}
    ```
    
    The dataclass will be automatically converted to a Pydantic dataclass.
    
    This way, its schema will show up in the API docs user interface:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## Dataclasses in Nested Data Structures
    
    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)
  9. docs/es/docs/tutorial/query-params.md

    Todo el proceso que aplicaba a los parámetros de path también aplica a los parámetros de query:
    
    * Soporte del editor (obviamente)
    * <abbr title="convertir el string que viene de un HTTP request a datos de Python">"Parsing"</abbr> de datos
    * Validación de datos
    * Documentación automática
    
    ## Configuraciones por defecto
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/path-params.md

    {"item_id":3}
    ```
    
    !!! check "Revisa"
        Observa que el valor que recibió (y devolvió) tu función es `3`, como un Python `int`, y no un string `"3"`.
    
        Entonces, con esa declaración de tipos **FastAPI** te da <abbr title="convertir el string que viene de un HTTP request a datos de Python">"parsing"</abbr> automático del request.
    
    ## Validación de datos
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top