- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 161 for userId (0.04 seconds)
-
docs/en/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 ``` That can then be used like: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/tr/docs/features.md
# Değişkeni str olarak belirt # ve o fonksiyon için harika bir editör desteği al def main(user_id: str): return user_id # Pydantic modeli class User(BaseModel): id: int name: str joined: date ``` Sonrasında bu şekilde kullanabilirsin ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.1K bytes - Click Count (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() ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 30 13:38:33 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
Por ejemplo, digamos que tienes 4 endpoints de API (*path operations*): * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` entonces podrías agregar diferentes requisitos de permiso para cada uno de ellos solo con dependencias y sub-dependencias: ```mermaid graph TB
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
### `**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() ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
Por exemplo, vamos supor que você possua 4 endpoints na sua API (*operações de rota*): * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` Você poderia adicionar diferentes requisitos de permissão para cada um deles utilizando apenas dependências e sub-dependências: ```mermaid graph TB
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/extra-models.md
### `**user_in.dict()`について #### Pydanticの`.dict()` `user_in`は`UserIn`クラスのPydanticモデルです。 Pydanticモデルには、モデルのデータを含む`dict`を返す`.dict()`メソッドがあります。 そこで、以下のようなPydanticオブジェクト`user_in`を作成すると: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` そして呼び出すと: ```Python user_dict = user_in.dict() ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.6K bytes - Click Count (0) -
docs/pt/docs/features.md
# Declare uma variável como str # e obtenha suporte do editor dentro da função def main(user_id: str): return user_id # Um modelo do Pydantic class User(BaseModel): id: int name: str joined: date ``` Que então pode ser usado como: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/en/docs/tutorial/security/first-steps.md
/// This is of course not the frontend for the final users, but it's a great automatic tool to document interactively all your API. It can be used by the frontend team (that can also be yourself). It can be used by third party applications and systems. And it can also be used by yourself, to debug, check and test the same application. ## The `password` flow { #the-password-flow }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/zh/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",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 8.9K bytes - Click Count (0)