Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,076 for none (0.07 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_description.py

    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: str | None = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. docs/ja/docs/python-types.md

    ```
    
    これは `item` が `int` または `str` になり得ることを意味します。
    
    #### `None` の可能性 { #possibly-none }
    
    値が `str` のような型を持つ可能性がある一方で、`None` にもなり得ることを宣言できます。
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    ただの `str` の代わりに `str | None` を使用することで、値が常に `str` であると仮定しているときに、実際には `None` である可能性もあるというエラーをエディタが検出するのに役立ちます。
    
    ### 型としてのクラス { #classes-as-types }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    若你所在的國家限制部分網址,這會很有用。
    
    ### 停用自動產生的文件 { #disable-the-automatic-docs }
    
    第一步是停用自動文件,因為預設會使用預設的 CDN。
    
    要停用它們,建立 `FastAPI` 應用時把相關 URL 設為 `None`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[8] *}
    
    ### 加入自訂文件 { #include-the-custom-docs }
    
    現在你可以為自訂文件建立「路徑操作(path operation)」。
    
    你可以重用 FastAPI 的內部函式來建立文件的 HTML 頁面,並傳入所需參數:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version + "/key/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSKeyStatusHandler)))
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. helm-releases/minio-3.1.3.tgz

    affinity: {} ## List of buckets to be created after minio install ## buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # - name: bucket2 # policy: none # purge: false # versioning: true ## Additional Annotations for the Kubernetes Job makeBucketJob makeBucketJob: podAnnotations: annotations: securityContext:...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 18 18:09:59 GMT 2021
    - 14.4K bytes
    - Click Count (0)
  8. helm-releases/minio-3.0.0.tgz

    memory: 128Mi ## List of buckets to be created after minio install ## buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # - name: bucket2 # policy: none # purge: false # versioning: true ## Additional Annotations for the Kubernetes Job makeBucketJob makeBucketJob: podAnnotations: annotations: securityContext:...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 02 01:47:43 GMT 2021
    - 13.8K bytes
    - Click Count (0)
  9. helm-releases/minio-4.0.5.tgz

    affinity: {} ## List of buckets to be created after minio install ## buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # - name: bucket2 # policy: none # purge: false # versioning: true ## Additional Annotations for the Kubernetes Job makeBucketJob makeBucketJob: podAnnotations: annotations: securityContext:...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Jul 16 06:42:56 GMT 2022
    - 18.3K bytes
    - Click Count (0)
  10. helm/minio/templates/_helper_create_bucket.txt

    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.buckets }}
    {{ $global := . }}
    # Create the buckets
    {{- range .Values.buckets }}
    createBucket {{ tpl .name $global }} {{ .policy | default "none" | quote }} {{ .purge | default false }} {{ .versioning | default "" }} {{ .objectlocking | default false }}{{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 07 09:47:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top