Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,737 for classe (0.23 sec)

  1. docs/pt/docs/tutorial/bigger-applications.md

    você o importa e cria uma "instância" da mesma maneira que faria com a classe `FastAPI`:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Operações de Rota* com `APIRouter`
    
    E então você o utiliza para declarar suas *operações de rota*.
    
    Utilize-o da mesma maneira que utilizaria a classe  `FastAPI`:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nós também declaramos um parâmetro especial do tipo `SecurityScopes`, importado de `fastapi.security`.
    
    A classe `SecurityScopes` é semelhante à classe `Request` (`Request` foi utilizada para obter o objeto da requisição diretamente).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    ## Utilize os `scopes`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    then it is a "callable".
    
    ## Classes as dependencies { #classes-as-dependencies_1 }
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. callbacks/query.go

    											}
    
    											exprs = append(exprs, clause.Expr{SQL: onSQL, Vars: vars})
    										}
    									}
    								}
    							}
    
    							return clause.Join{
    								Type:  joinType,
    								Table: clause.Table{Name: relation.FieldSchema.Table, Alias: tableAliasName},
    								ON:    clause.Where{Exprs: exprs},
    							}
    						}
    
    						parentTableName := clause.CurrentTable
    						for idx, rel := range relations {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (1)
  7. finisher_api.go

    			break
    		}
    		queryDB = tx.Clauses(clause.Gt{Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey}, Value: primaryValue})
    	}
    
    	tx.RowsAffected = rowsAffected
    	return tx
    }
    
    func (db *DB) assignInterfacesToValue(values ...interface{}) {
    	for _, value := range values {
    		switch v := value.(type) {
    		case []clause.Expression:
    			for _, expr := range v {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. callbacks/delete.go

    				for _, cond := range queryConds {
    					if c, ok := cond.(clause.IN); ok && len(c.Values) == 0 {
    						withoutConditions = true
    						break
    					}
    				}
    
    				if !withoutConditions && db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil {
    					return
    				}
    			case schema.Many2Many:
    				var (
    					queryConds     = make([]clause.Expression, 0, len(rel.References))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dstIndex++;
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
            /* Normally, without intervention everything would batch
             * with everything else. If the below clause evaluates true
             * the andx command will not be written and therefore the
             * response will not read a batched command and therefore
             * the 'received' member of the response object will not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    	}
    
    	for idx, lang := range langs {
    		lang.Name = lang.Name + "_new"
    		langs[idx] = lang
    	}
    
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.AssignmentColumns([]string{"name"}),
    	}, clause.Returning{}).CreateInBatches(&langs, len(langs)).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	for _, lang := range langs {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top