- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 410 for Email (0.21 sec)
-
docs_src/extra_models/tutorial001_py310.py
app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None class UserOut(BaseModel): username: str email: EmailStr full_name: str | None = None class UserInDB(BaseModel): username: str hashed_password: str email: EmailStr full_name: str | None = None def fake_password_hasher(raw_password: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 899 bytes - Viewed (0) -
docs_src/security/tutorial003_an.py
fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": { "username": "alice", "full_name": "Alice Wonderson", "email": "******@****.***", "hashed_password": "fakehashedsecret2", "disabled": True, }, }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/security/tutorial003_an_py39.py
fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": { "username": "alice", "full_name": "Alice Wonderson", "email": "******@****.***", "hashed_password": "fakehashedsecret2", "disabled": True, }, }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 2.5K bytes - Viewed (0) -
fastapi/background.py
def write_notification(email: str, message=""): with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
``` 就会生成如下结果: ```Python UserInDB( username="john", password="secret", email="******@****.***", full_name=None, ) ``` 或更精准,直接把可能会用到的内容与 `user_dict` 一起使用: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ``` #### 用其它模型中的内容生成 Pydantic 模型
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_src/response_model/tutorial003_py310.py
from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None class UserOut(BaseModel): username: str email: EmailStr full_name: str | None = None @app.post("/user/", response_model=UserOut) async def create_user(user: UserIn) -> Any:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 431 bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
```Python UserInDB( username="john", password="secret", email="******@****.***", full_name=None, ) ``` Or more exactly, using `user_dict` directly, with whatever contents it might have in the future: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test.xml
<address xmlns:hoge="http://www.example.com/hoge"> <item sex="male" custid="A12345"> <name>鈴木太郎</name> <access kind="email"></access> <access kind="url">http://www.taro.com/</access> <image file="taro.png" /> </item> <item sex="male" custid="B23456"> <name>佐藤二朗</name> <access kind="email">******@****.***</access> <image file="jiro.png" /> </item> <item sex="female" custid="C34567"> <name>田中花子</name>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 582 bytes - Viewed (0) -
docs_src/response_model/tutorial003.py
from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: Union[str, None] = None class UserOut(BaseModel): username: str email: EmailStr full_name: Union[str, None] = None @app.post("/user/", response_model=UserOut) async def create_user(user: UserIn) -> Any:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 450 bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishRelease.kt
) { init { params { text( "gitUserEmail", "", label = "Git user.email Configuration", description = "Enter the git 'user.email' configuration to commit change under", display = ParameterDisplay.PROMPT, allowEmpty = true ) text(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 3.5K bytes - Viewed (0)