Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 408 for myprint (0.26 seconds)

  1. helm-releases/minio-5.1.0.tgz

    "minio.deployment.apiVersion" -}} {{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for statefulset. */}} {{- define "minio.statefulset.apiVersion" -}} {{- if semverCompare "<1.16-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for ingress. */}}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Click Count (0)
  2. helm-releases/minio-5.2.0.tgz

    "minio.deployment.apiVersion" -}} {{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for statefulset. */}} {{- define "minio.statefulset.apiVersion" -}} {{- if semverCompare "<1.16-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for ingress. */}}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Click Count (0)
  3. helm-releases/minio-1.0.2.tgz

    ">=1.4-0, <1.7-0" .Capabilities.KubeVersion.Version -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "^1.7-0" .Capabilities.KubeVersion.Version -}} {{- print "networking.k8s.io/v1beta1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for deployment. */}} {{- define "minio.deployment.apiVersion" -}} {{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 24 18:58:05 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/advanced-python-types.md

    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    參數 `name` 被標註為 `Optional[str]`,但它並不是可選的;你不能在沒有該參數的情況下呼叫這個函式:
    
    ```Python
    say_hi()  # 糟了,這會拋出錯誤!😱
    ```
    
    參數 `name` 仍是必填(不是可選),因為它沒有預設值。不過,`name` 可以接受 `None` 作為值:
    
    ```Python
    say_hi(name=None)  # 這可行,None 是有效的 🎉
    ```
    
    好消息是,多數情況下你可以直接用 `|` 來定義型別聯集:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial008e_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 329 bytes
    - Click Count (0)
  6. internal/s3select/sql/value_test.go

    			tests = append(tests, test{
    				name: fmt.Sprint(a.GetTypeString(), "==", b.GetTypeString()),
    				fields: fields{
    					a: *a, b: *b,
    				},
    				wantOk: i == j,
    			})
    		}
    	}
    	for i := range valueBuilders {
    		a := valueBuilders[i]()
    		for j := range altValueBuilders {
    			b := altValueBuilders[j]()
    			tests = append(tests, test{
    				name: fmt.Sprint(a.GetTypeString(), "!=", b.GetTypeString()),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

      - type: dropdown
        id: source
        attributes:
          label: Source
          description: TensorFlow installed from
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  8. docs_src/extra_models/tutorial002_py310.py

    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 798 bytes
    - Click Count (0)
  9. helm-releases/minio-3.4.3.tgz

    ">=1.4-0, <1.7-0" .Capabilities.KubeVersion.Version -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "^1.7-0" .Capabilities.KubeVersion.Version -}} {{- print "networking.k8s.io/v1beta1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for deployment. */}} {{- define "minio.deployment.apiVersion" -}} {{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 21 20:55:50 GMT 2021
    - 17.7K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial008e_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
Back to Top