- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 226 for userId (0.04 sec)
-
tests/embedded_struct_test.go
} else if len(stmt.Schema.PrimaryFields) != 1 { t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields)) } for _, name := range []string{"user_id", "user_name", "user_email"} { if !DB.Migrator().HasColumn(&HNPost{}, name) { t.Errorf("should has prefixed column %v", name) } } // save embedded struct DB.Save(&HNPost{BasePost: BasePost{Title: "news"}})
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 26.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
/// note | 기술 세부사항 응답 모델은 함수의 타입 어노테이션 대신 이 매개변수로 선언하는데, 경로 함수가 실제 응답 모델을 반환하지 않고 `dict`, 데이터베이스 객체나 기타 다른 모델을 `response_model`을 사용하여 필드 제한과 직렬화를 수행하고 반환할 수 있기 때문입니다 /// ## 동일한 입력 데이터 반환 여기서 우리는 평문 비밀번호를 포함하는 `UserIn` 모델을 선언합니다: {* ../../docs_src/response_model/tutorial002.py hl[9,11] *} 그리고 이 모델을 사용하여 입력을 선언하고 같은 모델로 출력을 선언합니다: {* ../../docs_src/response_model/tutorial002.py hl[17:18] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.9K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
and match them against the toolchain requirements of the project (as configured in {@code pom.xml}): if match is found, the toolchain instance is made available to other Maven plugins.</p> <p>With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Inactive user { #inactive-user } Now try with an inactive user, authenticate with: User: `alice` Password: `secret2` And try to use the operation `GET` with the path `/users/me`. You will get an "Inactive user" error, like: ```JSON { "detail": "Inactive user" } ``` ## Recap { #recap }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/ja/docs/features.md
from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` これは以下のように用いられます: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
"There are currently no logon servers available to service the logon request.", "The specified user already exists.", "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.",Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
但最重要的是: * 会将输出数据限制在该模型定义内。下面我们会看到这一点有多重要。 /// note | 技术细节 响应模型在参数中被声明,而不是作为函数返回类型的注解,这是因为路径函数可能不会真正返回该响应模型,而是返回一个 `dict`、数据库对象或其他模型,然后再使用 `response_model` 来执行字段约束和序列化。 /// ## 返回与输入相同的数据 现在我们声明一个 `UserIn` 模型,它将包含一个明文密码属性。 {* ../../docs_src/response_model/tutorial002.py hl[9,11] *} 我们正在使用此模型声明输入数据,并使用同一模型声明输出数据: {* ../../docs_src/response_model/tutorial002.py hl[17:18] *} 现在,每当浏览器使用一个密码创建用户时,API 都会在响应中返回相同的密码。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
"There are currently no logon servers available to service the logon request.", "The specified user already exists.", "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.",Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Make attempts from same IP with different users for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed"); rateLimiter.recordFailure("user" + i, ip); } // 6th attempt from same IP should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0)