Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 291 for cat2 (0.13 sec)

  1. manifests/charts/default/templates/zzz_profile.yaml

    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown compatibility version" $.Values.compatibilityVersion) }}
    {{- end }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. manifests/charts/gateway/templates/zzz_profile.yaml

    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown compatibility version" $.Values.compatibilityVersion) }}
    {{- end }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. manifests/charts/istio-operator/templates/zzz_profile.yaml

    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown compatibility version" $.Values.compatibilityVersion) }}
    {{- end }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_headers/test_tutorial002.py

    
    def test_path_operation():
        response = client.get("/headers-and-object/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 378 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_headers/test_tutorial001.py

    
    def test_path_operation():
        response = client.get("/headers/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
        assert response.headers["X-Cat-Dog"] == "alone in the world"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 426 bytes
    - Viewed (0)
  6. tools/bug-report/pkg/kubectlcmd/kubectlcmd.go

    	out, err := r.Client.EnvoyDo(context.TODO(), pod, namespace, "GET", url)
    	return string(out), err
    }
    
    // Cat runs the cat command for the given path in the given namespace/pod/container.
    func (r *Runner) Cat(namespace, pod, container, path string, dryRun bool) (string, error) {
    	cmdStr := "cat " + path
    	if dryRun {
    		return fmt.Sprintf("Dry run: would be running podExec %s/%s/%s:%s", pod, namespace, container, cmdStr), nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    const acePrefix = "xn--"
    
    func (p *Profile) simplify(cat category) category {
    	switch cat {
    	case disallowedSTD3Mapped:
    		if p.useSTD3Rules {
    			cat = disallowed
    		} else {
    			cat = mapped
    		}
    	case disallowedSTD3Valid:
    		if p.useSTD3Rules {
    			cat = disallowed
    		} else {
    			cat = valid
    		}
    	case deviation:
    		if !p.transitional {
    			cat = valid
    		}
    	case validNV8, validXV8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  8. buildscripts/minio-upgrade.sh

    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    	fi
    	echo "matches - ${expected}, got ${got}"
    }
    
    add_alias() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_create_policy.txt

    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
      echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    这就是 "可调用对象"。
    
    ## 类作为依赖项
    
    您可能会注意到,要创建一个 Python 类的实例,您可以使用相同的语法。
    
    举个例子:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    在这个例子中, `fluffy` 是一个 `Cat` 类的实例。
    
    为了创建 `fluffy`,你调用了 `Cat` 。
    
    所以,Python 类也是 **可调用对象**。
    
    因此,在 **FastAPI** 中,你可以使用一个 Python 类作为一个依赖项。
    
    实际上 FastAPI 检查的是它是一个 "可调用对象"(函数,类或其他任何类型)以及定义的参数。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top