Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LevelA1 (0.04 sec)

  1. tests/preload_suits_test.go

    	want := make([]Level3, 2)
    	want[0] = Level3{
    		Level2s: []Level2{
    			{Level1: Level1{Value: "value1"}},
    			{Level1: Level1{Value: "value2"}},
    		},
    	}
    	if err := DB.Create(&want[0]).Error; err != nil {
    		t.Error(err)
    	}
    
    	want[1] = Level3{
    		Level2s: []Level2{
    			{Level1: Level1{Value: "value3"}},
    			{Level1: Level1{Value: "value4"}},
    		},
    	}
    	if err := DB.Create(&want[1]).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  2. tests/test_include_router_defaults_overrides.py

        callbacks=callback_router1.routes,
        dependencies=[Depends(dep1)],
        response_class=ResponseLevel1,
    )
    async def path1_override(level1: str):
        return level1
    
    
    @app.get("/default1")
    async def path1_default(level1: str):
        return level1
    
    
    @router2_override.get(
        "/override3",
        tags=["path3a", "path3b"],
        responses={
            403: {"description": "Client error level 3"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
Back to top