Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,425 for descriptive (0.15 sec)

  1. docs_src/body_nested_models/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  2. manifests/charts/base/Chart.yaml

    apiVersion: v2
    name: base
    # This version is never actually shipped. istio/release-builder will replace it at build-time
    # with the appropriate version
    version: 1.0.0
    appVersion: 1.0.0
    description: Helm chart for deploying Istio cluster resources and CRDs
    keywords:
      - istio
    sources:
      - https://github.com/istio/istio
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon May 20 18:29:34 UTC 2024
    - 378 bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/body.md

    🎏 🕐❔ 📣 🔢 🔢, 🕐❔ 🏷 🔢 ✔️ 🔢 💲, ⚫️ 🚫 ✔. ⏪, ⚫️ ✔. ⚙️ `None` ⚒ ⚫️ 📦.
    
    🖼, 👉 🏷 🔛 📣 🎻 "`object`" (⚖️ 🐍 `dict`) 💖:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ... `description` & `tax` 📦 (⏮️ 🔢 💲 `None`), 👉 🎻 "`object`" 🔜 ☑:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## 📣 ⚫️ 🔢
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tests/test_duplicate_models_openapi.py

                    "get": {
                        "summary": "F",
                        "operationId": "f__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Model3"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt

        triggerName = "QuickFeedback",
        vcsRootId = gradlePromotionBranches
    ) {
        init {
            id("Promotion_SnapshotFromQuickFeedback")
            name = "Nightly Snapshot (from QuickFeedback)"
            description = "Promotes the latest successful changes on '${branch.branchName}' from Quick Feedback as a new nightly snapshot"
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jul 25 21:00:40 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepCheckReady.kt

        cleanCheckout = false
    ) {
        init {
            id("Promotion_SnapshotFromQuickFeedbackStepCheckReady")
            name = "Nightly Snapshot (from QuickFeedback) - Check Ready"
            description = "Checks that a nightly snapshot can be published from QuickFeedback"
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jul 25 21:00:40 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. docs_src/bigger_applications/app_an/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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  8. docs_src/body/tutorial002.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
        item_dict = item.dict()
        if item.tax:
            price_with_tax = item.price + item.tax
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 467 bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	if targetUser == "" {
    		targetUser = cred.AccessKey
    	}
    
    	description := createReq.Description
    	if description == "" {
    		description = createReq.Comment
    	}
    	opts := newServiceAccountOpts{
    		accessKey:   createReq.AccessKey,
    		secretKey:   createReq.SecretKey,
    		name:        createReq.Name,
    		description: description,
    		expiration:  createReq.Expiration,
    		claims:      make(map[string]interface{}),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top