Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for Dumps (0.03 sec)

  1. pkg/test/framework/components/echo/kube/testdata/multiple-istio-versions.yaml

        spec:
          imagePullSecrets:
          - name: myregistrykey
          containers:
          - name: istio-proxy
            image: auto
            imagePullPolicy: Always
            securityContext: # to allow core dumps
              readOnlyRootFilesystem: false
          - name: app
            image: testing.hub/app:latest
            imagePullPolicy: Always
            args:
              - --metrics=15014
              - --cluster=cluster-0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/encoder.md

    O resultado de chamar a função é algo que pode ser codificado com o padrão do Python <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial009c.py

    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 01 09:32:30 UTC 2022
    - 451 bytes
    - Viewed (0)
  4. ci/official/debug_tfci.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # This script dumps some information about the environment. It's most useful
    # for verifying changes to the TFCI scripts system, and most users won't need
    # to interact with it at all.
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 01 19:54:25 UTC 2023
    - 1022 bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/encoder.md

        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    在这个例子中,它将Pydantic模型转换为`dict`,并将`datetime`转换为`str`。
    
    调用它的结果后就可以使用Python标准编码中的<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>。
    
    这个操作不会返回一个包含JSON格式(作为字符串)数据的庞大的`str`。它将返回一个Python标准数据结构(例如`dict`),其值和子值都与JSON兼容。
    
    !!! note
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py

    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize("compress", [True, False])
    def test_gzip_request(compress):
        n = 1000
        headers = {}
        body = [1] * n
        data = json.dumps(body).encode()
        if compress:
            data = gzip.compress(data)
            headers["Content-Encoding"] = "gzip"
        headers["Content-Type"] = "application/json"
        response = client.post("/sum", content=data, headers=headers)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 886 bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/encoder.md

    ```Python hl_lines="5 22"
    {!../../../docs_src/encoder/tutorial001.py!}
    ```
    
    この例では、Pydanticモデルを`dict`に、`datetime`を`str`に変換します。
    
    呼び出した結果は、Pythonの標準の<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>でエンコードできるものです。
    
    これはJSON形式のデータを含む大きな`str`を(文字列として)返しません。JSONと互換性のある値とサブの値を持つPython標準のデータ構造(例:`dict`)を返します。
    
    !!! note "備考"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 20:09:02 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

                - NET_ADMIN
                - SYS_RESOURCE # Required for core dumps
              runAsUser: 1338
              runAsGroup: 1338
            command:
            - bash
            - -c
            - |-
              # Sudo and ulimits is problematic. There must be a better way to do this, but for now we can hack it
              # See https://superuser.com/questions/1733614/how-to-configure-core-dumps-ulimit-c-from-within-sudo-within-docker
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/writer.go

    		}
    		fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n",
    			s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore)
    	}
    	return tw.Flush()
    }
    
    // printSecretItemsJSON prints secret in JSON format, and dumps the raw certificate data with the output
    func (w *sdsWriter) printSecretItemsJSON(secrets []SecretItem) error {
    	out, err := json.MarshalIndent(secrets, "", " ")
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 14:17:23 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top