Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,202 for orjson (0.05 sec)

  1. docs/en/docs/tutorial/request-form-models.md

    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/additional-status-codes.md

    Quando você retorna um `Response` diretamente, como no exemplo acima, ele será retornado diretamente.
    
    Ele não será serializado com um modelo, etc.
    
    Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`).
    
    ///
    
    /// note | "Detalhes técnicos"
    
    Você também pode utilizar `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/route_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			gotOut := &bytes.Buffer{}
    			cw := &ConfigWriter{Stdout: gotOut}
    			cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name))
    			if err := cw.Prime(cd); err != nil {
    				t.Errorf("failed to parse config dump: %s", err)
    			}
    			err := cw.PrintRouteSummary(RouteFilter{Verbose: true})
    			assert.NoError(t, err)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/query-params-str-validations.md

    아래와 같은 URL을 사용합니다:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    여러 `q` *쿼리 매개변수* 값들을 (`foo` 및 `bar`) 파이썬 `list`로 *경로 작동 함수* 내 *함수 매개변수* `q`로 전달 받습니다.
    
    따라서 해당 URL에 대한 응답은 다음과 같습니다:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | "팁"
    
    위의 예와 같이 `list` 자료형으로 쿼리 매개변수를 선언하려면 `Query`를 명시적으로 사용해야 합니다. 그렇지 않으면 요청 본문으로 해석됩니다.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1/generated.proto

    // CertificateSigningRequestSpec contains the certificate request.
    message CertificateSigningRequestSpec {
      // request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block.
      // When serialized as JSON or YAML, the data is additionally base64-encoded.
      // +listType=atomic
      optional bytes request = 1;
    
      // signerName indicates the requested signer, and is a qualified name.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val groovyDateUtil = "$groovyGroup:groovy-dateutil"
        val groovyDatetime = "$groovyGroup:groovy-datetime"
        val groovyDoc = "$groovyGroup:groovy-groovydoc"
        val groovyJson = "$groovyGroup:groovy-json"
        val groovyNio = "$groovyGroup:groovy-nio"
        val groovySql = "$groovyGroup:groovy-sql"
        val groovyTemplates = "$groovyGroup:groovy-templates"
        val groovyTest = "$groovyGroup:groovy-test"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. .github/workflows/contributor-pr.yml

        runs-on: ubuntu-latest
        steps:
          - name: git clone
            uses: actions/checkout@v4
          - id: setup-matrix
            run: echo "matrix=$(jq -c -f .github/workflows/extract-unit-test-split.jq .teamcity/subprojects.json)" >> $GITHUB_OUTPUT
          - name: setup java
            uses: actions/setup-java@v4
            with:
              distribution: temurin
              java-version: 17
          - id: determine-sys-prop-args
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/sts-errors.go

    	Description    string
    	HTTPStatusCode int
    }
    
    // STSErrorResponse - error response format
    type STSErrorResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ ErrorResponse" json:"-"`
    	Error   struct {
    		Type    string `xml:"Type"`
    		Code    string `xml:"Code"`
    		Message string `xml:"Message"`
    	} `xml:"Error"`
    	RequestID string `xml:"RequestId"`
    }
    
    // STSErrorCode type of error status.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    )
    
    type Config struct {
    	TraceLogging bool `json:"IPTABLES_TRACE_LOGGING"`
    	EnableIPv6   bool `json:"ENABLE_INBOUND_IPV6"`
    	RedirectDNS  bool `json:"REDIRECT_DNS"`
    	// If true, TPROXY will be used for redirection. Else, REDIRECT will be used.
    	// Currently, this is treated as a feature flag, but may be promoted to a permanent feature if there is a need.
    	TPROXYRedirection bool `json:"TPROXY_REDIRECTION"`
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/additional-status-codes.md

    ```Python hl_lines="4  25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    /// warning | "警告"
    
    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    FastAPI 不会用模型等对该响应进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | "技术细节"
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top