Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 377 for branch (0.06 seconds)

  1. docs/pt/docs/advanced/response-headers.md

    {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *}
    
    Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
    
    Se você declarou um `response_model`, ele ainda será utilizado para filtrar e converter o objeto que você retornou.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. tests/benchmark_test.go

    package tests_test
    
    import (
    	"fmt"
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 01 03:50:57 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .longOpt("batch-mode")
                    .desc("Run in non-interactive mode. Alias for --non-interactive (kept for backwards compatability)")
                    .build());
            options.addOption(Option.builder()
                    .longOpt(NON_INTERACTIVE)
                    .desc("Run in non-interactive mode. Alias for --batch-mode")
                    .build());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. generics.go

    	err := g.g.apply(ctx).Find(&r).Error
    	return r, err
    }
    
    func (g execG[T]) FindInBatches(ctx context.Context, batchSize int, fc func(data []T, batch int) error) error {
    	var data []T
    	return g.g.apply(ctx).FindInBatches(&data, batchSize, func(tx *DB, batch int) error {
    		return fc(data, batch)
    	}).Error
    }
    
    func (g execG[T]) Row(ctx context.Context) *sql.Row {
    	return g.g.apply(ctx).Row()
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. tests/non_std_test.go

    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    	animal = Animal{From: "somewhere"}              // No name fields, should be filled with the default value (galeone)
    	DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    pode ser utilizada como uma dependência do **FastAPI**.
    
    Na realidade, o FastAPI utiliza esses dois decoradores internamente.
    
    ///
    
    ## Uma dependência de banco de dados com `yield` { #a-database-dependency-with-yield }
    
    Por exemplo, você poderia utilizar isso para criar uma sessão do banco de dados, e fechá-la após terminar.
    
    Apenas o código anterior à declaração com `yield` e o código contendo essa declaração são executados antes de criar uma resposta:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/security/http-basic-auth.md

    #### Die Zeit zum Antworten hilft den Angreifern { #the-time-to-answer-helps-the-attackers }
    
    Wenn die Angreifer zu diesem Zeitpunkt feststellen, dass der Server einige Mikrosekunden länger braucht, um die Response „Incorrect username or password“ zu senden, wissen sie, dass sie _etwas_ richtig gemacht haben, einige der Anfangsbuchstaben waren richtig.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. ci/official/utilities/generate_index_html.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    
    # Generates a handy index.html with a bunch of Kokoro links for GitHub
    # presubmits.
    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Sep 29 20:26:13 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  9. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    from the plug-in's github repository. Your use of the ASM code is subject to the terms and conditions of the ASM License below which is also available at http://asm.ow2.org/license.html http://asm.ow2.org/license.html. Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 10 19:27:25 GMT 2022
    - 5.5K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/response-directly.md

    # Retornando uma Resposta Diretamente { #return-a-response-directly }
    
    Quando você cria uma *operação de rota* no **FastAPI** você pode retornar qualquer dado nela: um dicionário (`dict`), uma lista (`list`), um modelo do Pydantic ou do seu banco de dados, etc.
    
    Por padrão, o **FastAPI** irá converter automaticamente o valor do retorno para JSON utilizando o `jsonable_encoder` explicado em [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top