- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 243 for userId (0.05 seconds)
-
tests/test_infer_param_optionality.py
@user_router.get("/") def get_users(): return [{"user_id": "u1"}, {"user_id": "u2"}] @user_router.get("/{user_id}") def get_user(user_id: str): return {"user_id": user_id} @item_router.get("/") def get_items(user_id: str | None = None): if user_id is None: return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}] else:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 13.2K bytes - Click Count (0) -
cmd/admin-handlers-users.go
return } for user := range users { checkedUserList = append(checkedUserList, user) } checkedUserList = append(checkedUserList, globalActiveCred.AccessKey) } else { for _, user := range users { // Validate the user _, ok := globalIAMSys.GetUser(ctx, user) if !ok { continue } checkedUserList = append(checkedUserList, user) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 90.6K bytes - Click Count (0) -
clause/joins_test.go
sql: "INNER JOIN `user` ON `user_info`.`user_id` = `users`.`id`", }, { name: "CROSS JOIN", join: clause.Join{ Type: clause.CrossJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{ Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}}, }, }, sql: "CROSS JOIN `user` ON `user_info`.`user_id` = `users`.`id`", }, { name: "USING",Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Nov 03 13:03:13 GMT 2022 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java
@Override protected Class<? extends User> typeOfSelectedEntity() { return User.class; } @Override protected Class<User> typeOfHandlingEntity() { return User.class; } @Override protected Class<UserCB> typeOfHandlingConditionBean() { return UserCB.class; } public ListResultBean<User> selectList(CBCall<UserCB> cbLambda) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
/** * Interface representing a Fess user with authentication and authorization information. * Provides access to user name, roles, groups, and permissions. */ public interface FessUser extends Serializable { /** * Gets the user's display name. * @return The user's name. */ String getName(); /** * Gets the user's assigned role names. * @return Array of role names.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
tests/test_param_in_path_and_dependency.py
from inline_snapshot import snapshot app = FastAPI() async def user_exists(user_id: int): return True @app.get("/users/{user_id}", dependencies=[Depends(user_exists)]) async def read_users(user_id: int): pass client = TestClient(app) def test_read_users(): response = client.get("/users/42") assert response.status_code == 200, response.text def test_openapi_schema():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.6K bytes - Click Count (0) -
tests/test_route_scope.py
from fastapi.routing import APIRoute, APIWebSocketRoute from fastapi.testclient import TestClient app = FastAPI() @app.get("/users/{user_id}") async def get_user(user_id: str, request: Request): route: APIRoute = request.scope["route"] return {"user_id": user_id, "path": route.path} @app.websocket("/items/{item_id}") async def websocket_item(item_id: str, websocket: WebSocket):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.5K bytes - Click Count (0) -
docs_src/path_params/tutorial003_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/users/me") async def read_user_me(): return {"user_id": "the current user"} @app.get("/users/{user_id}") async def read_user(user_id: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 236 bytes - Click Count (0) -
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)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
relativeSid.sub_authority_count = 1; relativeSid.sub_authority = new int[] { 1000 }; SID userSid = new SID(domainSid, relativeSid); assertEquals(domainSid.sub_authority_count + relativeSid.sub_authority_count, userSid.sub_authority_count); assertEquals(1000, userSid.sub_authority[userSid.sub_authority_count - 1]); } /** * Test the internal constructor. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0)