Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,543 for Examples (0.03 sec)

  1. docs/fr/llm-prompt.md

    2) In the French docs, guillemets are written without extra spaces: use «texte», not « texte ».
    
    3) Do not convert quotes inside code blocks, inline code, paths, URLs, or anything wrapped in backticks.
    
    Examples:
    
        Source (English):
    
            «««
            "Hello world"
            “Hello Universe”
            "He said: 'Hello'"
            "The module is `__main__`"
            »»»
    
        Result (French):
    
            «««
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        allowReserved: Optional[bool] = None
    
    
    class MediaType(BaseModelWithConfig):
        schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema")
        example: Optional[Any] = None
        examples: Optional[dict[str, Union[Example, Reference]]] = None
        encoding: Optional[dict[str, Encoding]] = None
    
    
    class ParameterBase(BaseModelWithConfig):
        description: Optional[str] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. docs/ko/llm-prompt.md

    2) Never change quotes inside inline code, code blocks, URLs, or file paths.
    
    ### Ellipsis
    
    1) Keep ellipsis style consistent with existing Korean docs (often `...`).
    2) Never change `...` in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 요청
    - response (HTTP): 응답
    - path operation: 경로 처리
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 17:32:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. docs/de/llm-prompt.md

    Examples:
    
        Source (English):
    
            «««
            "Hello world"
            “Hello Universe”
            "He said: 'Hello'"
            “my name is ‘Nils’”
            `"__main__"`
            `"items"`
            »»»
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. CODE_OF_CONDUCT.md

    nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    We pledge to act and interact in ways that contribute to an open, welcoming,
    diverse, inclusive, and healthy community.
    
    ## Our Standards
    
    Examples of behavior that contributes to a positive environment for our
    community includes:
    
    * Demonstrating empathy and kindness toward other people
    * Being respectful of differing opinions, viewpoints, and experiences
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 17 06:18:13 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial001_pv1_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 634 bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_py39.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 684 bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial001_pv1_py39.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 672 bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial003_an_py39.py

        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 692 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial005.py

                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"},
                                    "examples": {
                                        "normal": {
                                            "summary": "A normal example",
                                            "description": "A **normal** item works correctly.",
                                            "value": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top