- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 410 for email (0.02 sec)
-
docs_src/security/tutorial002_an_py39.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" )
Registered: 2024-11-03 07:19 - Last Modified: 2023-03-18 12:29 - 786 bytes - Viewed (0) -
docs_src/background_tasks/tutorial001.py
app = FastAPI() 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: 2024-11-03 07:19 - Last Modified: 2020-03-26 19:09 - 519 bytes - Viewed (0) -
docs_src/security/tutorial005_an_py310.py
Registered: 2024-11-03 07:19 - Last Modified: 2024-05-20 17:37 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
Registered: 2024-11-03 07:19 - Last Modified: 2024-05-20 17:37 - 5.3K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-27 15:22 - 4.8K bytes - Viewed (0) -
SECURITY.md
## Reporting a Vulnerability All security bugs in [minio/minio](https://github,com/minio/minio) (or other minio/* repositories) should be reported by email to ******@****.***. Your email will be acknowledged within 48 hours, and you'll receive a more detailed response to your email within 72 hours indicating the next steps in handling your report. Please, provide a detailed explanation of the issue. In particular, outline the type of the security
Registered: 2024-11-03 19:28 - Last Modified: 2022-02-12 00:51 - 2.2K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/crud.py
def get_user_by_email(email: str): return models.User.filter(models.User.email == email).first() def get_users(skip: int = 0, limit: int = 100): return list(models.User.select().offset(skip).limit(limit)) def create_user(user: schemas.UserCreate): fake_hashed_password = user.password + "notreallyhashed" db_user = models.User(email=user.email, hashed_password=fake_hashed_password)
Registered: 2024-11-03 07:19 - Last Modified: 2020-03-26 19:09 - 843 bytes - Viewed (0) -
docs_src/background_tasks/tutorial002.py
message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification( email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)
Registered: 2024-11-03 07:19 - Last Modified: 2022-05-14 11:59 - 675 bytes - Viewed (0) -
tests/test_tutorial/test_generate_clients/test_tutorial003.py
Registered: 2024-11-03 07:19 - Last Modified: 2023-06-30 18:25 - 7.1K bytes - Viewed (0) -
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: 2024-11-03 07:19 - Last Modified: 2022-01-07 14:11 - 899 bytes - Viewed (0)