Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 275 for tuples (0.12 seconds)

  1. tests/update_test.go

    	} else if users[0].UpdatedAt.IsZero() {
    		t.Fatalf("user's updated at should not zero, %v", users[0].UpdatedAt)
    	}
    
    	if rowsAffected := DB.Model(&User{}).Clauses(clause.From{Tables: []clause.Table{{Name: "accounts"}}}).Where("accounts.user_id = users.id AND accounts.number = ? AND accounts.deleted_at IS NULL", users[0].Account.Number).Update("name", "franco").RowsAffected; rowsAffected != 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. docs/ko/docs/_llm-test.md

    ////
    
    ## 코드 스니펫의 따옴표 { #quotes-in-code-snippets }
    
    //// tab | 테스트
    
    `pip install "foo[bar]"`
    
    코드 스니펫에서 문자열 리터럴의 예: `"this"`, `'that'`.
    
    코드 스니펫에서 문자열 리터럴의 어려운 예: `f"I like {'oranges' if orange else "apples"}"`
    
    하드코어: `Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"`
    
    ////
    
    //// tab | 정보
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/_llm-test.md

    ////
    
    ## 程式碼片段中的引號 { #quotes-in-code-snippets }
    
    //// tab | 測試
    
    `pip install "foo[bar]"`
    
    程式碼片段中字串常值的例子:"this"、'that'。
    
    較難的程式碼片段中字串常值例子:`f"I like {'oranges' if orange else "apples"}"`
    
    進階:`Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"`
    
    ////
    
    //// tab | 資訊
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/response-model.md

    /// tip | 提示
    
    `{"name", "description"}` 语法创建一个包含这两个值的 `set`。
    
    等同于 `set(["name", "description"])`。
    
    ///
    
    #### 使用 `list` 而不是 `set` { #using-lists-instead-of-sets }
    
    如果你忘记使用 `set` 而是使用了 `list` 或 `tuple`,FastAPI 仍会将其转换为 `set` 并正常工作:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## 总结 { #recap }
    
    使用*路径操作装饰器*的 `response_model` 参数来定义响应模型,尤其是确保私有数据被过滤掉。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}
    
    Como ahora estamos declarando esos scopes, aparecerán en la documentación de la API cuando inicies sesión/autorices.
    
    Y podrás seleccionar cuáles scopes quieres dar de acceso: `me` y `items`.
    
    Este es el mismo mecanismo utilizado cuando das permisos al iniciar sesión con Facebook, Google, GitHub, etc:
    
    <img src="/img/tutorial/security/image11.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     *
     * This nesting is typical but not strict. For example, when calls use "Expect: continue" the
     * request body start and end events occur within the response header events. Similarly,
     * [duplex calls][RequestBody.isDuplex] interleave the request and response bodies.
     *
     * Since connections may be reused, the proxy selection, DNS, and connect events may not be present
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/response-model.md

    /// tip | 提示
    
    語法 `{"name", "description"}` 會建立一個包含這兩個值的 `set`。
    
    它等同於 `set(["name", "description"])`。
    
    ///
    
    #### 使用 `list` 來代替 `set` { #using-lists-instead-of-sets }
    
    如果你忘了使用 `set` 而用了 `list` 或 `tuple`,FastAPI 仍會把它轉換成 `set`,並能正確運作:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## 重點回顧 { #recap }
    
    使用「路徑操作裝飾器」的 `response_model` 參數來定義回應模型,特別是為了確保私有資料被過濾掉。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  8. CHANGELOG.md

     *  New: `mockwebserver3.SocketPolicy` is now a sealed interface. This is one of several
        backwards-incompatible API changes that may impact early adopters of this alpha API.
    
     *  New: `mockwebserver3.Stream` for duplex streams.
    
     *  New: `mockwebserver3.MockResponseBody` for streamed response bodies.
    
     *  New: `mockwebserver3.MockResponse` is now immutable, with a `Builder`.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  9. tests/sql_builder_test.go

    	}
    }
    
    func TestFromWithJoins(t *testing.T) {
    	var result User
    
    	newDB := DB.Session(&gorm.Session{NewDB: true, DryRun: true}).Table("users")
    
    	newDB.Clauses(
    		clause.From{
    			Tables: []clause.Table{{Name: "users"}},
    			Joins: []clause.Join{
    				{
    					Table: clause.Table{Name: "companies", Raw: false},
    					ON: clause.Where{
    						Exprs: []clause.Expression{
    							clause.Eq{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

        }
      }
    
      private static boolean shouldTrim(int actualUnique, int expectedUnique) {
        return actualUnique < (expectedUnique >> 1) + (expectedUnique >> 2);
      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top