- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 204 for userId (0.07 sec)
-
docs/de/docs/tutorial/extra-models.md
/// ### Über `**user_in.dict()` #### Pydantic's `.dict()` `user_in` ist ein Pydantic-Modell der Klasse `UserIn`. Pydantic-Modelle haben eine `.dict()`-Methode, die ein `dict` mit den Daten des Modells zurückgibt. Wenn wir also ein Pydantic-Objekt `user_in` erstellen, etwa so: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` und wir rufen seine `.dict()`-Methode auf:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java
} protected void registerModifiedProperty(String propertyName) { __modifiedProperties.addPropertyName(propertyName); registerSpecifiedProperty(propertyName); // synchronize if exists, basically for user's manual call } public void modifiedToSpecified() { if (__modifiedProperties.isEmpty()) { return; // basically no way when called in Framework (because called when SpecifyColumn exists)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
/** * Creates the LMv2 response for the supplied information. * * @param domain * The domain in which the username exists. * @param user * The username. * @param password * The user's password. * @param challenge * The server challenge. * @param clientChallenge * The client challenge (nonce).
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 9.7K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
``` //// ## Den Benutzer holen `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt: //// tab | Python 3.10+ ```Python hl_lines="19-22 26-27" {!> ../../docs_src/security/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
/// ```Python hl_lines="10" {!> ../../docs_src/security/tutorial001.py!} ``` //// But that is still not that useful. Let's make it give us the current user. ## Create a user model First, let's create a Pydantic user model. The same way we use Pydantic to declare bodies, we can use it anywhere else: //// tab | Python 3.10+ ```Python hl_lines="5 12-16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
``` //// Pydantic 모델인 `User`로 `current_user`의 타입을 선언하는 것을 알아야 합니다. 이것은 모든 완료 및 타입 검사를 통해 함수 내부에서 우리를 도울 것입니다. /// tip | "팁" 요청 본문도 Pydantic 모델로 선언된다는 것을 기억할 것입니다. 여기서 **FastAPI**는 `Depends`를 사용하고 있기 때문에 혼동되지 않습니다. /// /// check | "확인" 이 의존성 시스템이 설계된 방식은 모두 `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/sql-databases.md
✋️ 🇸🇲 🚫 ✔️ 🔗 ⚙️ `await` 🔗, 🔜 ⏮️ 🕳 💖: ```Python user = await db.query(User).first() ``` ...& ↩️ 👥 ⚙️: ```Python user = db.query(User).first() ``` ⤴️ 👥 🔜 📣 *➡ 🛠️ 🔢* & 🔗 🍵 `async def`, ⏮️ 😐 `def`,: ```Python hl_lines="2" @app.get("/users/{user_id}", response_model=schemas.User) def read_user(user_id: int, db: Session = Depends(get_db)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
{!> ../../docs_src/extra_models/tutorial001.py!} ``` //// ### `**user_in.dict()` 简介 #### Pydantic 的 `.dict()` `user_in` 是类 `UserIn` 的 Pydantic 模型。 Pydantic 模型支持 `.dict()` 方法,能返回包含模型数据的**字典**。 因此,如果使用如下方式创建 Pydantic 对象 `user_in`: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` 就能以如下方式调用: ```Python user_dict = user_in.dict() ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params.md
*path operations* を作成する際、固定パスをもつ状況があり得ます。 `/users/me` から、現在のユーザに関するデータを取得するとします。 さらに、ユーザIDによって特定のユーザに関する情報を取得するパス `/users/{user_id}` ももつことができます。 *path operations* は順に評価されるので、 `/users/me` が `/users/{user_id}` よりも先に宣言されているか確認する必要があります: ```Python hl_lines="6 11" {!../../docs_src/path_params/tutorial003.py!} ``` それ以外の場合、 `/users/{users_id}` は `/users/me` としてもマッチします。値が「"me"」であるパラメータ `user_id` を受け取ると「考え」ます。 ## 定義済みの値
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
} if err := DB.Model(&users[1]).Association("Company").Append(&company); err != nil { t.Errorf("Error happened when append company to user, got %v", err) } if users[0].CompanyID == nil || users[1].CompanyID == nil || *users[0].CompanyID != *users[1].CompanyID { t.Errorf("user's company id should exists and equal, but its: %v, %v", users[0].CompanyID, users[1].CompanyID) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0)