Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 704 for tabs (0.03 sec)

  1. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

    from typing import List
    
    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: List[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 789 bytes
    - Viewed (0)
  2. doc/go_spec.html

    	to <code>T</code>.
    	</li>
    	<li>
    	ignoring struct tags (see below),
    	<code>x</code>'s type and <code>T</code> are not
    	<a href="#Type_parameter_declarations">type parameters</a> but have
    	<a href="#Type_identity">identical</a> <a href="#Underlying_types">underlying types</a>.
    	</li>
    	<li>
    	ignoring struct tags (see below),
    	<code>x</code>'s type and <code>T</code> are pointer types
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  3. docs/ru/docs/environment-variables.md

    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // Вы можете создать переменную окружения MY_NAME с помощью
    $ export MY_NAME="Wade Wilson"
    
    // Затем её можно использовать в других программах, например
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 11:38:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/settings.md

    ### 主应用程序文件
    
    现在我们创建一个依赖项,返回一个新的 `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+ 非注解版本
    
    /// tip
    
    如果可能,请尽量使用 `Annotated` 版本。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/additional-status-codes.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  26"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/additional-status-codes.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  25"
    {!> ../../docs_src/additional_status_codes/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  26"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="6  14  22"
    {!> ../../docs_src/dependencies/tutorial008_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="5  13  21"
    {!> ../../docs_src/dependencies/tutorial008_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 364 bytes
    - Viewed (0)
  9. src/main/resources/suggest_indices/suggest/mappings-default.json

        "queryFreq": {
          "type": "long"
        },
        "roles": {
          "type": "keyword"
        },
        "languages": {
          "type": "keyword"
        },
        "score": {
          "type": "double"
        },
        "tags": {
          "type": "keyword"
        },
        "text": {
          "type": "keyword"
        },
        "userBoost": {
          "type": "double"
        }
      }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Jan 06 03:01:29 UTC 2017
    - 760 bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    	pkgTags  = map[string][]string{}    // map import dir to list of relevant tags
    )
    
    // tagKey returns the tag-based key to use in the pkgCache.
    // It is a comma-separated string; the first part is dir, the rest tags.
    // The satisfied tags are derived from context but only those that
    // matter (the ones listed in the tags argument plus GOOS and GOARCH) are used.
    // The tags list, which came from go/build's Package.AllTags,
    // is known to be sorted.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top