Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7501 - 7510 of 7,804 for RETURN (0.19 seconds)

  1. docs/uk/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.10+ без Annotated
    
    /// tip | Порада
    
    Надавайте перевагу версії з `Annotated`, якщо це можливо.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. schema/serializer_test.go

    			if (err != nil) != tt.wantErr {
    				t.Fatalf("UnixSecondSerializer.Value() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err != nil {
    				return
    			}
    			if tt.want == nil && got == nil {
    				return
    			}
    			if tt.want == nil {
    				t.Fatalf("UnixSecondSerializer.Value() = %v, want nil", got)
    			}
    			if got == nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/sql-databases.md

    `HeroUpdate` のフィールド:
    
    * `name`
    * `age`
    * `secret_name`
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:28] hl[25:28] *}
    
    ### `HeroCreate` で作成し `HeroPublic` を返す { #create-with-herocreate-and-return-a-heropublic }
    
    複数モデルが用意できたので、それらを使うようにアプリの部分を更新します。
    
    リクエストでは `HeroCreate` データモデルを受け取り、そこから `Hero` テーブルモデルを作成します。
    
    この新しいテーブルモデル `Hero` は、クライアントから送られたフィールドを持ち、データベースによって生成された `id` も持ちます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18K bytes
    - Click Count (0)
  4. tests/test_include_route.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.route("/items/")
    def read_items(request: Request):
        return JSONResponse({"hello": "world"})
    
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_sub_router():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 496 bytes
    - Click Count (0)
  5. tests/migrate_test.go

    	if err != nil {
    		err = fmt.Errorf("ColumnTypes err:%v", err)
    		return
    	}
    
    	for _, c := range columnTypes {
    		if c.Name() == columnName {
    			foundColumn = c
    			break
    		}
    	}
    	return
    }
    
    func TestInvalidCachedPlanSimpleProtocol(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	db, err := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.13.md

    * kube-apiserver would return 400 Bad Request when it couldn't decode a json patch. ([#68346](https://github.com/kubernetes/kubernetes/pull/68346), [@CaoShuFeng](https://github.com/CaoShuFeng))
        * kube-apiserver would return 422 Unprocessable Entity when a json patch couldn't be applied to one object.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 273.1K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    /// tip | Tipp
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/response-model.md

    ### `response_model` 또는 반환 타입 { #response-model-or-return-type }
    
    이 경우 두 모델이 서로 다르기 때문에, 함수 반환 타입을 `UserOut`으로 어노테이션하면 에디터와 도구는 서로 다른 클래스인데 잘못된 타입을 반환하고 있다고 불평할 것입니다.
    
    그래서 이 예제에서는 `response_model` 매개변수로 선언해야 합니다.
    
    ...하지만 아래를 계속 읽으면 이를 극복하는 방법을 볼 수 있습니다.
    
    ## 반환 타입과 데이터 필터링 { #return-type-and-data-filtering }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.10+ Annotated olmayan
    
    /// tip | İpucu
    
    Mümkünse `Annotated` sürümünü tercih edin.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    ## Özet { #recap }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                buffer[2] = oplockLevel;
                System.arraycopy(fileId, 0, buffer, 8, 16);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("WriteBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should always return 0 for write operation")
            void testWriteBytesWireFormat() {
                byte[] buffer = new byte[64];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top