Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,920 for ujson (0.03 seconds)

  1. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  2. tests/test_request_params/test_body/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/json"]["schema"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 268 bytes
    - Click Count (0)
  3. cmd/bucket-replication-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"path"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 23.3K bytes
    - Click Count (0)
  4. .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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 22 15:25:21 GMT 2021
    - 1K bytes
    - Click Count (0)
  5. tests/test_router_prefix_with_template.py

    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/body-fields.md

    型、デフォルト値、`Field`を持つ各モデルの属性が、`Path`や`Query`、`Body`の代わりに`Field`を持つ、*path operation 関数の*パラメータと同じ構造になっていることに注目してください。
    
    ///
    
    ## 追加情報の追加 { #add-extra-information }
    
    追加情報は`Field`や`Query`、`Body`などで宣言することができます。そしてそれは生成されたJSONスキーマに含まれます。
    
    後に例を用いて宣言を学ぶ際に、追加情報を追加する方法を学べます。
    
    /// warning | 注意
    
    `Field`に渡された追加のキーは、結果として生成されるアプリケーションのOpenAPIスキーマにも含まれます。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. docs/zh/docs/how-to/custom-request-and-route.md

    尤其是,当你本来会把这些逻辑放到中间件里时,这是一个不错的替代方案。
    
    例如,如果你想在应用处理之前读取或操作请求体。
    
    /// danger | 危险
    
    这是一个“高级”特性。
    
    如果你刚开始使用 **FastAPI**,可以先跳过本节。
    
    ///
    
    ## 使用场景 { #use-cases }
    
    一些使用场景包括:
    
    * 将非 JSON 的请求体转换为 JSON(例如 [`msgpack`](https://msgpack.org/index.html))。
    * 解压缩使用 gzip 压缩的请求体。
    * 自动记录所有请求体日志。
    
    ## 处理自定义请求体编码 { #handling-custom-request-body-encodings }
    
    来看如何用自定义的 `Request` 子类来解压 gzip 请求。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/query-params.md

    这里的查询参数 `needy` 是类型为 `str` 的必选查询参数。
    
    在浏览器中打开如下 URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...因为路径中没有必选参数 `needy`,返回的响应中会显示如下错误信息:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. docs/de/docs/how-to/extending-openapi.md

    Als Teil der Erstellung des Anwendungsobjekts wird eine *Pfadoperation* für `/openapi.json` (oder welcher Wert für den Parameter `openapi_url` gesetzt wurde) registriert.
    
    Diese gibt lediglich eine JSON-<abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> zurück, mit dem Ergebnis der Methode `.openapi()` der Anwendung.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. docs/es/docs/how-to/extending-openapi.md

    Como parte de la creación del objeto de la aplicación, se registra una *path operation* para `/openapi.json` (o para lo que sea que configures tu `openapi_url`).
    
    Simplemente devuelve un response JSON con el resultado del método `.openapi()` de la aplicación.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top