Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,156 for orjson (0.05 seconds)

  1. docs/es/docs/history-design-future.md

    También, el mejor enfoque era usar estándares ya existentes.
    
    Entonces, antes de siquiera empezar a programar **FastAPI**, pasé varios meses estudiando las especificaciones de OpenAPI, JSON Schema, OAuth2, etc. Entendiendo su relación, superposición y diferencias.
    
    ## Diseño { #design }
    
    Luego pasé algún tiempo diseñando la "API" de desarrollador que quería tener como usuario (como desarrollador usando FastAPI).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. docs/es/docs/how-to/custom-request-and-route.md

    Si apenas estás comenzando con **FastAPI**, quizás quieras saltar esta sección.
    
    ///
    
    ## Casos de uso { #use-cases }
    
    Algunos casos de uso incluyen:
    
    * Convertir cuerpos de requests no-JSON a JSON (por ejemplo, <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Descomprimir cuerpos de requests comprimidos con gzip.
    * Registrar automáticamente todos los request bodies.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design { #design }
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/query-params.md

    If you open in your browser a URL like:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...without adding the required parameter `needy`, you will see an error like:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据
    
    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    {* ../../docs_src/body_updates/tutorial001.py hl[30:35] *}
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
        "name": "Barz",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/body-updates.md

    Вы можете использовать `jsonable_encoder`, чтобы преобразовать входные данные в данные, которые можно сохранить как JSON (например, в NoSQL-базе данных). Например, преобразование `datetime` в `str`.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. docs/pt/docs/history-design-future.md

    Também, a melhor abordagem era usar padrões já existentes.
    
    Então, antes mesmo de começar a codificar o **FastAPI**, eu investi vários meses estudando as especificações do OpenAPI, JSON Schema, OAuth2 etc. Entendendo suas relações, sobreposições e diferenças.
    
    ## Design { #design }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. internal/s3select/sql/value.go

    type Value struct {
    	value any
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    // MarshalJSON provides json marshaling of values.
    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    		return b, nil
    	}
    	return json.Marshal(v.value)
    }
    
    // GetTypeString returns a string representation for vType
    func (v Value) GetTypeString() string {
    	switch v.value.(type) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. tests/test_dependency_contextvars.py

        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
        response = client.get("/user")
        assert response.json() == "deadpond"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. .github/hub_scripts/pr_ci.sh

    # This script must be executed from the branch associated with the PR to issue the command on.
    #
    
    PR_NUMBER=$(hub pr show -f '%I')
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 22 15:25:21 GMT 2021
    - 1K bytes
    - Click Count (0)
Back to Top