Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,214 for descriptions (0.17 sec)

  1. docs_src/body/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 271 bytes
    - Viewed (0)
  2. docs_src/dataclasses_/tutorial001_py310.py

    from dataclasses import dataclass
    
    from fastapi import FastAPI
    
    
    @dataclass
    class Item:
        name: str
        price: float
        description: str | None = None
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 275 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_testing/test_main_a.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Read Main",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 830 bytes
    - Viewed (0)
  4. docs_src/dataclasses_/tutorial001_py39.py

    from dataclasses import dataclass
    from typing import Union
    
    from fastapi import FastAPI
    
    
    @dataclass
    class Item:
        name: str
        price: float
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 312 bytes
    - Viewed (0)
  5. .ci/jobs.t/elastic+elasticsearch+branch-consistency.yml

    ---
    - job:
        name: elastic+elasticsearch+%BRANCH%+branch-consistency
        display-name: "elastic / elasticsearch # %BRANCH% - branch consistency"
        description: Testing of the Elasticsearch master branch version consistency.
        triggers:
          - timed: "H 7 * * *"
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
              properties-content: |
                JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
          - shell: |
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Thu May 06 21:46:09 UTC 2021
    - 572 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial008_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 434 bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/descriptor/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Provides classes for Maven plugin descriptors that define plugin metadata, configuration,
     * and execution parameters. These descriptors are typically stored in plugin.xml files
     * within the META-INF/maven directory of plugin JARs.
     *
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 364 bytes
    - Viewed (0)
  9. docs_src/response_model/tutorial001_01_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 469 bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_py39/main.py

    app.include_router(users.router)
    app.include_router(items.router)
    app.include_router(
        admin.router,
        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 552 bytes
    - Viewed (0)
Back to top