Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 668 for methods (0.04 seconds)

  1. tests/transaction_test.go

    		return tx.Model(&User{}).Limit(1).Transaction(func(tx2 *gorm.DB) error {
    			return tx2.Scan(&User{}).Error
    		})
    	})
    	if err != nil {
    		t.Error(err)
    	}
    
    	// method with hooks
    	err = DB.Transaction(func(tx1 *gorm.DB) error {
    		// callMethod do
    		tx2 := tx1.Find(&User{}).Session(&gorm.Session{NewDB: true})
    		// trx in hooks
    		return tx2.Transaction(func(tx3 *gorm.DB) error {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. internal/kms/config.go

    			}
    		} else if !isPresent(EnvKESAPIKey) {
    			return false, errors.New("kms: incomplete configuration for MinIO KES: missing authentication method")
    		}
    		return true, nil
    	}
    }
    
    func expandEndpoints(s string) ([]string, error) {
    	var endpoints []string
    	for endpoint := range strings.SplitSeq(s, ",") {
    		endpoint = strings.TrimSpace(endpoint)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### Exemplo na UI da documentação { #example-in-the-docs-ui }
    
    Com qualquer um dos métodos acima, ficaria assim em `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` com vários `examples` { #body-with-multiple-examples }
    
    Você também pode, é claro, passar vários `examples`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### Ejemplo en la interfaz de documentación { #example-in-the-docs-ui }
    
    Con cualquiera de los métodos anteriores se vería así en los `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` con múltiples `examples` { #body-with-multiple-examples }
    
    Por supuesto, también puedes pasar múltiples `examples`:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. docs/es/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Ya creaste una API que:
    
    * Recibe requests HTTP en los _paths_ `/` y `/items/{item_id}`.
    * Ambos _paths_ toman _operaciones_ `GET` (también conocidas como métodos HTTP).
    * El _path_ `/items/{item_id}` tiene un _parámetro de path_ `item_id` que debe ser un `int`.
    * El _path_ `/items/{item_id}` tiene un _parámetro de query_ `q` opcional que es un `str`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                UnaryOperator<String> interpolator)
                throws ExtensionResolutionException {
            try {
                /* TODO: Enhance the PluginDependenciesResolver to provide a
                 * resolveCoreExtension method which uses a CoreExtension
                 * object instead of a Plugin as this makes no sense.
                 */
                Plugin plugin = Plugin.newBuilder()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  7. src/bytes/reader_test.go

    	if err := buf.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte: expected error, got nil")
    	}
    }
    
    // verify that copying from an empty reader always has the same results,
    // regardless of the presence of a WriteTo method.
    func TestReaderCopyNothing(t *testing.T) {
    	type nErr struct {
    		n   int64
    		err error
    	}
    	type justReader struct {
    		io.Reader
    	}
    	type justWriter struct {
    		io.Writer
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    
    `@app.get("/")` dekoratörü, **FastAPI**'a hemen altındaki fonksiyonun aşağıdaki durumlardan sorumlu olduğunu söyler:
    
    * <abbr title="Bir HTTP GET metodu"><code>get</code> operasyonu</abbr> ile
    * `/` yoluna gelen istekler
    
    /// info | `@decorator` Bilgisi
    
    Python'da `@something` sözdizimi "<abbr title="Decorator">dekoratör</abbr>" olarak adlandırılır.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. fastapi/security/oauth2.py

            But declaring any other authentication challenge would be application-specific
            as it's not defined in the specification.
    
            For practical reasons, this method uses the `Bearer` challenge by default, as
            it's probably the most common one.
    
            If you are implementing an OAuth2 authentication scheme other than the provided
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public boolean isNull() {
                return value == null || value.isEmpty();
            }
    
            /**
             * Returns a comparable value for a qualifier.
             * <p>
             * This method takes into account the ordering of known qualifiers then unknown qualifiers with lexical
             * ordering.
             * <p>
             *
             * @param qualifier
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
Back to Top