Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for customize (0.17 sec)

  1. schema/schema_test.go

    func (CustomizeTable) TableName() string {
    	return "customize"
    }
    
    func TestCustomizeTableName(t *testing.T) {
    	customize, err := schema.Parse(&CustomizeTable{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse pointer user, got error %v", err)
    	}
    
    	if customize.Table != "customize" {
    		t.Errorf("Failed to customize table with TableName method")
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. docs/recipes.md

          fun run() {
            val request = Request.Builder()
                .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
                .build()
    
            // Copy to customize OkHttp for this request.
            val client1 = client.newBuilder()
                .readTimeout(500, TimeUnit.MILLISECONDS)
                .build()
            try {
              client1.newCall(request).execute().use { response ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       *
       * In order to support preemptive authentication we pass a fake "Auth Failed" response to the
       * authenticator. This gives the authenticator the option to customize the CONNECT request. It can
       * decline to do so by returning null, in which case OkHttp will use it as-is.
       */
      @Throws(IOException::class)
      private fun createTunnelRequest(route: Route): Request {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

    ### Custom Generate Unique ID Function
    
    FastAPI uses a **unique ID** for each *path operation*, it is used for the **operation ID** and also for the names of any needed custom models, for requests or responses.
    
    You can customize that function. It takes an `APIRoute` and outputs a string.
    
    For example, here it is using the first tag (you will probably have only one tag) and the *path operation* name (the function name).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. operator/README.md

    kind: IstioOperator
    spec:
      values:
        pilot:
          traceSampling: 0.1 # override from 1.0
    ```
    
    ### Advanced K8s resource overlays
    
    Advanced users may occasionally have the need to customize parameters (like container command line flags) which are not
    exposed through either of the installation or configuration APIs described in this document. For such cases, it's
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

            )
    
    
    class OAuth2(SecurityBase):
        """
        This is the base class for OAuth2 authentication, an instance of it would be used
        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
        existing subclasses, and maybe compose them if you want to support multiple flows.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * <p>
     * Since Resolver 2.0 this class offers access to various components via public getters, and allows even partial object
     * graph construction.
     * <p>
     * Extend this class {@code createXXX()} methods and override to customize, if needed. The contract of this class makes
     * sure that these (potentially overridden) methods are invoked only once, and instance created by those methods are
     * memorized and kept as long as supplier instance is kept open.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

             .build());
        ```
    
     *  **Interceptors lists are now deep-copied by `OkHttpClient.clone()`.**
        Previously clones shared interceptors, which made it difficult to customize
        the interceptors on a request-by-request basis.
    
     *  New: `Headers.toMultimap()`.
     *  New: `RequestBody.create(MediaType, ByteString)`.
     *  New: `ConnectionSpec.isCompatible(SSLSocket)`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.2.md

    equality-based selector in 1.1).
            * .spec.uniqueLabelKey is removed -- users can’t customize unique label key --
    and its default value is changed from
    “deployment.kubernetes.io/podTemplateHash” to “pod-template-hash”.
            * .spec.strategy.rollingUpdate.minReadySeconds is moved to .spec.minReadySeconds
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Viewed (0)
  10. istioctl/cmd/root.go

    	viper.SetConfigType(configType)
    	viper.AddConfigPath(configPath)
    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    	err := viper.ReadInConfig()
    	// Ignore errors reading the configuration unless the file is explicitly customized
    	if root.IstioConfig != defaultIstioctlConfig {
    		return err
    	}
    
    	return nil
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top