- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for email (0.02 sec)
-
tests/test_response_model_data_filter_no_inheritance.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class UserCreate(BaseModel): email: str password: str class UserDB(BaseModel): email: str hashed_password: str class User(BaseModel): email: str class PetDB(BaseModel): name: str owner: UserDB class PetOut(BaseModel): name: str owner: User
Registered: 2024-11-03 07:19 - Last Modified: 2023-07-07 17:12 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
Registered: 2024-11-03 07:19 - Last Modified: 2023-08-04 20:47 - 5.6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_py310.py
Registered: 2024-11-03 07:19 - Last Modified: 2023-08-04 20:47 - 5.8K bytes - Viewed (0) -
logger/sql_test.go
Registered: 2024-11-03 09:35 - Last Modified: 2024-03-21 08:00 - 8.4K bytes - Viewed (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,
Registered: 2024-11-03 09:35 - Last Modified: 2024-03-18 05:48 - 1.4K bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_an_py39.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: Annotated[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: 2023-03-18 12:29 - 696 bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_an.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: Annotated[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: 2023-03-18 12:29 - 725 bytes - Viewed (0) -
chainable_api.go
// // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign an email if the record is not found, otherwise ignore provided email // db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
Registered: 2024-11-03 09:35 - Last Modified: 2024-06-24 09:42 - 14.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/background-tasks.md
Cela comprend, par exemple : * Les notifications par email envoyées après l'exécution d'une action : * Étant donné que se connecter à un serveur et envoyer un email a tendance à être «lent» (plusieurs secondes), vous pouvez retourner la réponse directement et envoyer la notification en arrière-plan. * Traiter des données :
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-28 10:29 - 5.6K bytes - Viewed (0) -
tests/default_value_test.go
package tests_test import ( "testing" "time" "gorm.io/gorm" ) func TestDefaultValue(t *testing.T) { type Harumph struct { gorm.Model Email string `gorm:"not null;index:,unique"` Name string `gorm:"notNull;default:foo"` Name2 string `gorm:"size:233;not null;default:'foo'"` Name3 string `gorm:"size:233;notNull;default:''"` Age int `gorm:"default:18"`
Registered: 2024-11-03 09:35 - Last Modified: 2024-04-08 03:29 - 2.3K bytes - Viewed (0)