Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 412 for users1 (0.23 sec)

  1. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

    
    @needs_py310
    def test_override_in_users():
        from docs_src.dependency_testing.tutorial001_py310 import client
    
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. src/main/resources/fess_indices/fess_log.user_info/user_info.json

    Shinsuke Sugaya <******@****.***> 1551046046 +0900
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Feb 24 22:07:26 GMT 2019
    - 215 bytes
    - Viewed (0)
  3. tests/distinct_test.go

    )
    
    func TestDistinct(t *testing.T) {
    	users := []User{
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	var names []string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py

        test_override_in_items_with_params()
    
    
    def test_override_in_users():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/main/resources/esflute_user.xml

    	<!-- The components of Behavior. -->
    	<component name="userBhv" class="org.codelibs.fess.es.user.exbhv.UserBhv"/>
    	<component name="roleBhv" class="org.codelibs.fess.es.user.exbhv.RoleBhv"/>
    	<component name="groupBhv" class="org.codelibs.fess.es.user.exbhv.GroupBhv"/>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jun 11 14:16:53 GMT 2017
    - 718 bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess_user.group/alias/fess_user.json

    Shinsuke Sugaya <******@****.***> 1640608546 +0900
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Dec 27 12:35:46 GMT 2021
    - 3 bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess_user.user/alias/fess_user.json

    Shinsuke Sugaya <******@****.***> 1640608546 +0900
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Dec 27 12:35:46 GMT 2021
    - 3 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

                                },
                            },
                        },
                    }
                },
                "/users/": {
                    "get": {
                        "summary": "Read Users",
                        "operationId": "read_users_users__get",
                        "parameters": [
                            {
                                "required": True,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. docs_src/sql_databases/sql_app_py310/main.py

        users = crud.get_users(db, skip=skip, limit=limit)
        return users
    
    
    @app.get("/users/{user_id}", response_model=schemas.User)
    def read_user(user_id: int, db: Session = Depends(get_db)):
        db_user = crud.get_user(db, user_id=user_id)
        if db_user is None:
            raise HTTPException(status_code=404, detail="User not found")
        return db_user
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_security_http_bearer_description.py

    security = HTTPBearer(description="HTTP Bearer token scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top