Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 704 for tabs (0.05 sec)

  1. docs/pt/docs/tutorial/request-form-models.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="9-11  15"
    {!> ../../docs_src/request_form_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="8-10  14"
    {!> ../../docs_src/request_form_models/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/cookie-params.md

    Вы можете задать параметры Cookie таким же способом, как `Query` и `Path` параметры.
    
    ## Импорт `Cookie`
    
    Сначала импортируйте `Cookie`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/cookie_params/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    ## Объявление параметров `Cookie`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/config/openapi/openapi-user.yaml

    servers:
      - url: http://localhost:8080/api/v1
    tags:
      - name: search
        description: Search operations
      - name: popularword
        description: Popular word operations
      - name: monitor
        description: Monitoring operations
      - name: suggest
        description: Suggest operations
      - name: favorite
        description: Favorite operations
    paths:
      /documents:
        get:
          tags:
            - search
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    Now we create a dependency that returns a new `config.Settings()`.
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="6  12-13"
    {!> ../../docs_src/settings/app02_an_py39/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="6  12-13"
    {!> ../../docs_src/settings/app02_an/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. docs_src/dataclasses/tutorial002.py

    from dataclasses import dataclass, field
    from typing import List, Union
    
    from fastapi import FastAPI
    
    
    @dataclass
    class Item:
        name: str
        price: float
        tags: List[str] = field(default_factory=list)
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 549 bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		return FileInfo{}, errErasureReadQuorum
    	}
    	tags := make(map[string]string, 16)
    	tags["set"] = strconv.Itoa(er.setIndex)
    	tags["pool"] = strconv.Itoa(er.poolIndex)
    	tags["merrs"] = joinErrs(errs)
    	tags["derrs"] = fmt.Sprintf("%v", dataErrsByPart)
    	if m.IsValid() {
    		tags["sz"] = strconv.FormatInt(m.Size, 10)
    		tags["mt"] = m.ModTime.Format(iso8601Format)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/schema-extra-example.md

    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="15-23"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="13-21"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/request-forms.md

    `Form` sınıfını `fastapi`'den projenize dahil edin:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/request_forms/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. docs_src/metadata/tutorial004.py

                "url": "https://fastapi.tiangolo.com/",
            },
        },
    ]
    
    app = FastAPI(openapi_tags=tags_metadata)
    
    
    @app.get("/users/", tags=["users"])
    async def get_users():
        return [{"name": "Harry"}, {"name": "Ron"}]
    
    
    @app.get("/items/", tags=["items"])
    async def get_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 11:58:06 UTC 2020
    - 693 bytes
    - Viewed (0)
  10. docs_src/path_operation_configuration/tutorial003_py39.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post(
        "/items/",
        response_model=Item,
        summary="Create an item",
        description="Create an item with all the information, name, description, price, tax and a set of unique tags",
    )
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
Back to top