- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 353 for seemail (0.08 seconds)
-
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")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/es/docs/tutorial/background-tasks.md
Esto incluye, por ejemplo: * Notificaciones por email enviadas después de realizar una acción: * Como conectarse a un servidor de email y enviar un email tiende a ser "lento" (varios segundos), puedes devolver el response de inmediato y enviar la notificación por email en segundo plano. * Procesamiento de datos:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5K bytes - Click Count (0) -
logger/sql_test.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 8.4K bytes - Click Count (0) -
docs_src/background_tasks/tutorial001_py310.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")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 519 bytes - Click Count (0) -
callbacks/create_test.go
ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil { t.Errorf("parse schema error: %v, is not expected", err) return } dest := []*user{ { ID: 1, Name: "alice", Email: "email", Age: 18, }, { ID: 2,
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 18 05:48:42 GMT 2024 - 1.4K bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_py310.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)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 643 bytes - Click Count (0) -
docs/uk/docs/tutorial/background-tasks.md
Це включає, наприклад: * Надсилання email-сповіщень після виконання певної дії: * Підключення до поштового сервера та надсилання листа може займати кілька секунд. Ви можете відразу повернути відповідь, а email-сповіщення надіслати у фоні. * Обробка даних:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 7.6K bytes - Click Count (0) -
docs/uk/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"], ) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/tr/docs/tutorial/background-tasks.md
Örneğin: * Bir işlem gerçekleştirdikten sonra gönderilen email bildirimleri: * Bir email server’a bağlanmak ve email göndermek genellikle "yavaş" olduğundan (birkaç saniye), response’u hemen döndürüp email bildirimini arka planda gönderebilirsiniz. * Veri işleme:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 5K bytes - Click Count (0) -
docs/es/docs/tutorial/extra-models.md
```Python UserInDB( username="john", password="secret", email="******@****.***", full_name=None, ) ``` O más exactamente, usando `user_dict` directamente, con cualquier contenido que pueda tener en el futuro: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7.2K bytes - Click Count (0)