- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for author_id (0.17 sec)
-
docs_src/dataclasses/tutorial003.py
@dataclass class Author: name: str items: List[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4) async def create_author_items(author_id: str, items: List[Item]): # (5) return {"name": author_id, "items": items} # (6) @app.get("/authors/", response_model=List[Author]) # (7) def get_authors(): # (8) return [ # (9) {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/embedded_struct_test.go
DB.Migrator().DropTable(&HNPost{}, &EngadgetPost{}) if err := DB.Migrator().AutoMigrate(&HNPost{}, &EngadgetPost{}); err != nil { t.Fatalf("failed to auto migrate, got error: %v", err) } for _, name := range []string{"author_id", "author_name", "author_email"} { if !DB.Migrator().HasColumn(&EngadgetPost{}, name) { t.Errorf("should has prefixed column %v", name) } } stmt := gorm.Statement{DB: DB}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* most elements' text contents. When possible, avoid manual escaping by using templating * systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0)