Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 214 for user_2 (0.05 seconds)

  1. docs_src/query_params/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}/items/{item_id}")
    async def read_user_item(
        user_id: int, item_id: str, q: Union[str, None] = None, short: bool = False
    ):
        item = {"item_id": item_id, "owner_id": user_id}
        if q:
            item.update({"q": q})
        if not short:
            item.update(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 468 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            return "{" + authResult.account().username() + "}";
        }
    
        /**
         * Gets the Entra ID user associated with this credential.
         * @return The Entra ID user instance.
         */
        public EntraIdUser getUser() {
            return new EntraIdUser(authResult);
        }
    
        /**
         * Entra ID user implementation providing user information and permissions.
         */
        public static class EntraIdUser implements FessUser {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. tests/test_validation_error_context.py

    async def websocket_validation_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ):
        captured_exception.capture(exc)
        raise exc
    
    
    @app.get("/users/{user_id}")
    def get_user(user_id: int):
        return {"user_id": user_id}  # pragma: no cover
    
    
    @app.get("/items/", response_model=Item)
    def get_item():
        return {"name": "Widget"}
    
    
    @sub_app.get("/items/", response_model=Item)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 06 12:21:57 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. cmd/admin-handlers-idp-ldap.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userDN := r.Form.Get("userDN")
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	if userDN != "" && userDN != cred.ParentUser {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:46:04 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial013_an_py310.py

    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]):
        user = session.get(User, user_id)
        if not user:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 937 bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial014_an_py310.py

    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]):
        user = session.get(User, user_id)
        if not user:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        }
    
        /**
         * Retrieves a list of URLs that are in the user's favorites from the provided URL list.
         * This method filters the input URL list to return only those URLs that the specified user
         * has marked as favorites.
         *
         * @param userCode the unique code identifying the user
         * @param urlList the list of URLs to check against the user's favorites
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. utils/tests/models.go

    	Friends   []*User    `gorm:"many2many:user_friends;"`
    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  9. tests/connpool_test.go

    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    			"INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/StandardSystemProperty.java

      PATH_SEPARATOR("path.separator"),
    
      /** Line separator ("\n" on UNIX). */
      LINE_SEPARATOR("line.separator"),
    
      /** User's account name. */
      USER_NAME("user.name"),
    
      /** User's home directory. */
      USER_HOME("user.home"),
    
      /** User's current working directory. */
      USER_DIR("user.dir");
    
      private final String key;
    
      StandardSystemProperty(String key) {
        this.key = key;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top