Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,755 for json (0.04 sec)

  1. docs/distributed/decom-encrypted-sse-s3.sh

    pid=$!
    
    ./mc ready myminio
    
    ./mc admin user add myminio/ minio123 minio123
    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    ./mc encrypt set sse-s3 myminio/versioned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/README.md

    This is the preferred method for any new dashboards.
    
    ## Legacy Dashboards
    
    Many of our older dashboards are manually created in the UI and exported as JSON and checked in.
    
    ## Generation
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 815 bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/response-model.md

    举个例子,当你在 NoSQL 数据库中保存了具有许多可选属性的模型,但你又不想发送充满默认值的很长的 JSON 响应。
    
    ### 使用 `response_model_exclude_unset` 参数
    
    你可以设置*路径操作装饰器*的 `response_model_exclude_unset=True` 参数:
    
    ```Python hl_lines="24"
    {!../../docs_src/response_model/tutorial004.py!}
    ```
    
    然后响应中将不会包含那些默认值,而是仅有实际设置的值。
    
    因此,如果你向*路径操作*发送 ID 为 `foo` 的商品的请求,则响应(不包括默认值)将为:
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. scripts/label_approved.py

    
    settings = Settings()
    if settings.debug:
        logging.basicConfig(level=logging.DEBUG)
    else:
        logging.basicConfig(level=logging.INFO)
    logging.debug(f"Using config: {settings.json()}")
    g = Github(settings.token.get_secret_value())
    repo = g.get_repo(settings.github_repository)
    for pr in repo.get_pulls(state="open"):
        logging.info(f"Checking PR: #{pr.number}")
        pr_labels = list(pr.get_labels())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

            val gson: Gson = GsonBuilder().setPrettyPrinting().create()
            val initialString = gson.toJson(AcceptedApiChanges(changes))
            return adjustIndentation(initialString) + "\n"
        }
    
        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. cni/test/testdata/pre/non_json.conf

    "This is not json"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 60 bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/request-files.md

    /// note | "Starlette 技术细节"
    
    **FastAPI** 的 `UploadFile` 直接继承自 **Starlette** 的 `UploadFile`,但添加了一些必要功能,使之与 **Pydantic** 及 FastAPI 的其它部件兼容。
    
    ///
    
    ## 什么是 「表单数据」
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | "技术细节"
    
    不包含文件时,表单数据一般用 `application/x-www-form-urlencoded`「媒体类型」编码。
    
    但表单包含文件时,编码为 `multipart/form-data`。使用了 `File`,**FastAPI** 就知道要从请求体的正确位置获取文件。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. internal/crypto/sse-kms.go

    	if context, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok {
    		b, err := base64.StdEncoding.DecodeString(context[0])
    		if err != nil {
    			return "", nil, err
    		}
    
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err := json.Unmarshal(b, &ctx); err != nil {
    			return "", nil, err
    		}
    	}
    
    	keyID := h.Get(xhttp.AmzServerSideEncryptionKmsID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. docs/debugging/README.md

    ### Using xl-meta
    
    Executing `xl-meta` will look for an `xl.meta` in the current folder and decode it to JSON. It is also possible to specify multiple files or wildcards, for example `xl-meta ./**/xl.meta` will output decoded metadata recursively. It is possible to view what inline data is stored inline in the metadata using `--data` parameter `xl-meta -data xl.json` will display an id -> data size. To export inline data to a file use the `--export` option.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 01:17:53 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  10. internal/s3select/sql/statement.go

    	}
    }
    
    // EvalFrom evaluates the From clause on the input record. It only
    // applies to JSON input data format (currently).
    func (e *SelectStatement) EvalFrom(format string, input Record) ([]*Record, error) {
    	if !e.selectAST.From.HasKeypath() {
    		return []*Record{&input}, nil
    	}
    	_, rawVal := input.Raw()
    
    	if format != "json" {
    		return nil, errDataSource(errors.New("path not supported"))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top