Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,378 for type1 (0.02 seconds)

  1. docs/zh-hant/docs/tutorial/query-params.md

    在這種情況下,函式參數 `q` 為選用,且預設為 `None`。
    
    /// check | 注意
    
    另外請注意,FastAPI 能辨識出路徑參數 `item_id` 是路徑參數,而 `q` 不是,因此 `q` 會被當作查詢參數。
    
    ///
    
    ## 查詢參數型別轉換 { #query-parameter-type-conversion }
    
    你也可以宣告 `bool` 型別,值會被自動轉換:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    在這種情況下,如果你造訪:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    或
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. tests/connpool_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"os"
    	"reflect"
    	"testing"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type wrapperTx struct {
    	*sql.Tx
    	conn *wrapperConnPool
    }
    
    func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.PrepareContext(ctx, query)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. cmd/bucket-policy-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypePolicy,
    		Bucket:    bucket,
    		Policy:    bucketPolicyBytes,
    		UpdatedAt: updatedAt,
    	}))
    
    	// Success.
    	writeSuccessNoContent(w)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            enablePullRequestFeature()
        }
    
        requirements {
            requiresOs(os)
            requiresArch(os, arch)
        }
    
        failureConditions {
            if (this@applyDefaultSettings.type != BuildTypeSettings.Type.COMPOSITE) {
                executionTimeoutMin = timeout
            }
            testFailure = true
            supportTestRetry = true
            add {
                failOnText {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    /// tip
    
    This is just standard Python, it's called a "type alias", it's actually not specific to **FastAPI**.
    
    But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

            acceptedApiChanges.acceptedChanges = [:]
            for (String jsonText : jsonTexts) {
                def json = new Gson().fromJson(jsonText, new TypeToken<Map<String, List<AcceptedApiChange>>>() {}.type)
                Map<ApiChange, String> acceptedChanges = json.acceptedApiChanges.collectEntries { jsonChange ->
                    [(jsonChange.toApiChange()): jsonChange.acceptation]
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 04 14:00:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/BoundType.java

      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
        this.inclusive = inclusive;
      }
    
      /** Returns the bound type corresponding to a boolean value for inclusivity. */
      static BoundType forBoolean(boolean inclusive) {
        return inclusive ? CLOSED : OPEN;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CoreExtensionSelector.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Core extension selector: selects which entries to load from {@link InvokerRequest#coreExtensions()}.
     *
     * @param <C> The context type.
     */
    public interface CoreExtensionSelector<C extends LookupContext> {
        /**
         * Selects core extensions to be loaded from list of all sources detected.
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. tests/test_security_api_key_cookie_optional.py

                            "security": [{"APIKeyCookie": []}],
                        }
                    }
                },
                "components": {
                    "securitySchemes": {
                        "APIKeyCookie": {"type": "apiKey", "name": "key", "in": "cookie"}
                    }
                },
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_authorization_code_bearer.py

    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top