- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for UserIn (0.06 sec)
-
docs/en/docs/tutorial/response-model.md
`BaseUser` has the base fields. Then `UserIn` inherits from `BaseUser` and adds the `password` field, so, it will include all the fields from both models. We annotate the function return type as `BaseUser`, but we are actually returning a `UserIn` instance.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
docs/uk/docs/tutorial/response-model.md
`BaseUser` має базові поля. Потім `UserIn` успадковує `BaseUser` і додає поле `password`, отже, він матиме всі поля з обох моделей. Ми зазначаємо тип повернення функції як `BaseUser`, але фактично повертаємо екземпляр `UserIn`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Jun 24 19:14:01 UTC 2025 - 24.8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
#### Pydantic's `.dict()` { #pydantics-dict } `user_in` is a Pydantic model of class `UserIn`. Pydantic models have a `.dict()` method that returns a `dict` with the model's data. So, if we create a Pydantic object `user_in` like: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` and then we call: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-models.md
/// ### `**user_in.dict()` 에 대하여 #### Pydantic의 `.dict()` `user_in`은 Pydantic 모델 클래스인 `UserIn`입니다. Pydantic 모델은 모델 데이터를 포함한 `dict`를 반환하는 `.dict()` 메서드를 제공합니다. 따라서, 다음과 같이 Pydantic 객체 `user_in`을 생성할 수 있습니다: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` 그 다음, 다음과 같이 호출합니다: ```Python user_dict = user_in.dict() ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:38:33 UTC 2025 - 8.4K bytes - Viewed (0) -
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,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:46:04 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
final String userDN = fessConfig.getLdapAdminUserSecurityPrincipal(user.getName()); // attributes search(fessConfig.getLdapAdminUserBaseDn(), fessConfig.getLdapAdminUserFilter(user.getName()), null, adminEnv, result -> { if (!result.isEmpty()) { modifyUserAttributes(user, adminEnv, userDN, result); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params.md
sería lo mismo que ir a: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` Pero si vas a, por ejemplo: ``` http://127.0.0.1:8000/items/?skip=20 ``` Los valores de los parámetros en tu función serán: * `skip=20`: porque lo configuraste en la URL * `limit=10`: porque ese era el valor por defecto ## Parámetros opcionales
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
Al heredar de `str`, la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá representarlos correctamente. Luego crea atributos de clase con valores fijos, que serán los valores válidos disponibles: {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *} /// info | Información
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/sts-handlers_test.go
c.Fatalf("export %d: policy add error: %v", caseNum, err) } } for userDN, policies := range content.ldapUserPolicyMappings { // No need to detach, we are starting from a clean slate after exporting. _, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{ Policies: policies, User: userDN, }) if err != nil { c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 100.2K bytes - Viewed (1) -
cmd/admin-router.go
adminRouter.Methods(http.MethodGet).Path(adminVersion+"/idp/ldap/list-access-keys"). HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAP)).Queries("userDN", "{userDN:.*}", "listType", "{listType:.*}") adminRouter.Methods(http.MethodGet).Path(adminVersion+"/idp/ldap/list-access-keys-bulk"). HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAPBulk)).Queries("listType", "{listType:.*}")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 26.7K bytes - Viewed (0)