- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 814 for users6 (0.07 sec)
-
tests/test_security_api_key_header_description.py
app = FastAPI() api_key = APIKeyHeader(name="key", description="An API Key Header") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsUserCA.java
*/ package org.codelibs.fess.es.user.cbean.ca.bs; import org.codelibs.fess.es.user.allcommon.EsAbstractConditionAggregation; import org.codelibs.fess.es.user.allcommon.EsAbstractConditionQuery; import org.codelibs.fess.es.user.cbean.ca.UserCA; import org.codelibs.fess.es.user.cbean.cq.UserCQ; import org.codelibs.fess.es.user.cbean.cq.bs.BsUserCQ;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 212.4K bytes - Viewed (0) -
clause/where_test.go
}}, "SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?", []interface{}{"1", "jinzhu", 18}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Where{ Exprs: []clause.Expression{clause.Or(clause.Eq{Column: clause.PrimaryColumn, Value: "1"}), clause.Or(clause.Neq{Column: "name", Value: "jinzhu"})}, }}, "SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ?",
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/em/docs/tutorial/security/get-current-user.md
``` //// ๐ ๐ ๐ฅ ๐ฃ ๐ `current_user` Pydantic ๐ท `User`. ๐ ๐ โน ๐บ๐ฒ ๐ ๐ข โฎ๏ธ ๐ ๐ ๏ธ & ๐ โ . /// tip ๐ 5๏ธโฃ๐ ๐ญ ๐ ๐จ ๐ช ๐ฃ โฎ๏ธ Pydantic ๐ท. ๐ฅ **FastAPI** ๐ ๐ซ ๐ค ๐จ โฉ๏ธ ๐ โ๏ธ `Depends`. /// /// check ๐ ๐ ๐ โ๏ธ ๐ โ ๐ฅ โ๏ธ ๐ ๐ (๐ "โ") ๐ ๐ ๐จ `User` ๐ท. ๐ฅ ๐ซ ๐ซ โ๏ธ ๐ด 1๏ธโฃ ๐ ๐ ๐ช ๐จ ๐ ๐ ๐ฝ. /// ## ๐ ๐ท
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/get-current-user.md
`get_current_user` ใฏไฝๆใใ๏ผๅฝ็ฉใฎ๏ผใฆใผใใฃใชใใฃ้ขๆฐใไฝฟใฃใฆใ `str` ใจใใฆใใผใฏใณใๅใๅใใๅ ใปใฉใฎPydanticใฎ `User` ใขใใซใ่ฟๅดใใพใ: ```Python hl_lines="19-22 26-27" {!../../docs_src/security/tutorial002.py!} ``` ## ็พๅจใฎใฆใผใถใผใฎๆณจๅ ฅ ใงใใฎใงใ `get_current_user` ใซๅฏพใใฆๅๆงใซ *path operation* ใฎไธญใง `Depends` ใๅฉ็จใงใใพใใ ```Python hl_lines="31" {!../../docs_src/security/tutorial002.py!} ``` Pydanticใขใใซใฎ `User` ใจใใฆใ `current_user` ใฎๅใๅฎฃ่จใใใใจใซๆณจๆใใฆใใ ใใใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/associations_has_many_test.go
t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Team").Find(&user2.Team) CheckUser(t, user2, user) // Count AssertAssociationCount(t, user, "Team", 2, "") // Append team := *GetUser("team", Config{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
tests/sql_builder_test.go
if age != 20 { t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age) } } func TestRows(t *testing.T) { user1 := User{Name: "RowsUser1", Age: 1} user2 := User{Name: "RowsUser2", Age: 10} user3 := User{Name: "RowsUser3", Age: 20} DB.Save(&user1).Save(&user2).Save(&user3) rows, err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("name, age").Rows() if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
cmd/admin-router.go
// Remove user IAM adminRouter.Methods(http.MethodDelete).Path(adminVersion+"/remove-user").HandlerFunc(adminMiddleware(adminAPI.RemoveUser)).Queries("accessKey", "{accessKey:.*}") // List users adminRouter.Methods(http.MethodGet).Path(adminVersion+"/list-users").HandlerFunc(adminMiddleware(adminAPI.ListBucketUsers)).Queries("bucket", "{bucket:.*}")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 26.2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py
} }, }, }, } }, "/users/": { "get": { "summary": "Read Users", "operationId": "read_users_users__get", "parameters": [ { "required": True,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
๐น `items` ๐ โ๏ธ ๐ข `router` (`items.router`). ๐ ๐ 1๏ธโฃ ๐ฅ โ ๐ `app/routers/items.py`, โซ๏ธ `APIRouter` ๐. & โคด๏ธ ๐ฅ ๐ ๐น `users`. ๐ฅ ๐ช ๐ ๐ซ ๐: ```Python from app.routers import items, users ``` /// info ๐ฅ โฌ "โ ๐": ```Python from .routers import items, users ``` ๐ฅ โฌ "๐ ๐":
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0)