Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 634 for users1 (0.07 sec)

  1. tests/test_response_model_data_filter.py

        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    @app.get("/pets/", response_model=list[PetOut])
    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_route_scope.py

    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/users/rick")
        assert response.status_code == 200, response.text
        assert response.json() == {"user_id": "rick", "path": "/users/{user_id}"}
    
    
    def test_invalid_method_doesnt_match():
        response = client.post("/users/rick")
        assert response.status_code == 405, response.text
    
    
    def test_invalid_path_doesnt_match():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/UserCA.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.cbean.ca;
    
    import org.codelibs.fess.opensearch.user.cbean.ca.bs.BsUserCA;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class UserCA extends BsUserCA {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 822 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/UserCQ.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.cbean.cq;
    
    import org.codelibs.fess.opensearch.user.cbean.cq.bs.BsUserCQ;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class UserCQ extends BsUserCQ {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 822 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_params/test_tutorial003b.py

                                    },
                                },
                                "description": "Successful Response",
                            },
                        },
                        "summary": "Read Users2",
                    },
                },
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. tests/associations_belongs_to_test.go

    	}
    
    	if err := DB.Model(&users[1]).Association("Company").Append(&company); err != nil {
    		t.Errorf("Error happened when append company to user, got %v", err)
    	}
    
    	if users[0].CompanyID == nil || users[1].CompanyID == nil || *users[0].CompanyID != *users[1].CompanyID {
    		t.Errorf("user's company id should exists and equal, but its: %v, %v", users[0].CompanyID, users[1].CompanyID)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/get-current-user.md

    # Get Current User { #get-current-user }
    
    In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.user.bsentity.BsUser;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class User extends BsUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        private String originalPassword;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. tests/test_security_scopes_sub_dependency.py

                "current_user": {
                    "user": "user_1",
                    "scopes": ["me"],
                    "db_session": "db_session_1",
                },
            },
            "user_items": {
                "user_items": "user_items_1",
                "user_me": {
                    "user_me": "user_me_2",
                    "current_user": {
                        "user": "user_2",
                        "scopes": ["items", "me"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess_user.user/user.bulk

    {"index":{"_index":"fess_user.user","_id":"YWRtaW4="}}
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jan 12 13:23:26 UTC 2023
    - 166 bytes
    - Viewed (0)
Back to top