Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for author_id (0.04 seconds)

  1. docs_src/dataclasses_/tutorial003_py310.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)
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. docs/en/docs/management-tasks.md

    For these language translation PRs, confirm that:
    
    * The PR was automated (authored by @tiangolo), not made by another user.
    * It has the labels `lang-all` and `lang-{lang code}`.
    
    For PRs that update language-specific LLM prompts, confirm that:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top