- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 802 for users3 (0.14 sec)
-
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
tests/test_security_api_key_header.py
from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key") 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 - 1.8K bytes - Viewed (0) -
tests/test_param_in_path_and_dependency.py
"paths": { "/users/{user_id}": { "get": { "summary": "Read Users", "operationId": "read_users_users__user_id__get", "parameters": [ { "required": True, "schema": {"title": "User Id", "type": "integer"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)