Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 1,169 for item01 (0.04 seconds)

  1. docs_src/query_params/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    @app.get("/items/")
    async def read_item(skip: int = 0, limit: int = 10):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 250 bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. tests/test_filter_pydantic_sub_model_pv2.py

                            "properties": {
                                "detail": {
                                    "title": "Detail",
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
                                    },
                                }
                            },
                        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/body-multiple-params.md

    ///
    
    ## 単一のボディパラメータの埋め込み { #embed-a-single-body-parameter }
    
    Pydanticモデル`Item`の単一の`item`ボディパラメータしかないとしましょう。
    
    デフォルトでは、**FastAPI**はそのボディを直接期待します。
    
    しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON と、その中のモデル内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    以下において:
    
    {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. docs_src/security/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  6. docs_src/cookie_param_models/tutorial001_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 303 bytes
    - Click Count (0)
  7. helm/minio/templates/post-job.yaml

                  {{- range (concat .Values.users (default (list) .Values.svcaccts)) }}
                  {{- if .existingSecret }}
                  - secret:
                      name: {{ tpl .existingSecret $ }}
                      items:
                        - key: {{ .existingSecretKey }}
                          path: secrets/{{ tpl .existingSecret $ }}/{{ tpl .existingSecretKey $ }}
                  {{- end }}
                  {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 10 15:48:31 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  8. docs/fr/docs/editor-support.md

    # Prise en charge des éditeurs { #editor-support }
    
    L’extension officielle [Extension FastAPI](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) améliore votre flux de développement FastAPI grâce à la découverte des chemins d'accès, à la navigation, ainsi qu’au déploiement sur FastAPI Cloud et à la diffusion en direct des journaux.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. lib/hg/goreposum.py

      """
      h = hashlib.sha256()
      peer = hg.peer(ui, {}, url)
      for name, revs in peer.branchmap().items():
        h.update(name)
        for r in revs:
          h.update(b' ')
          h.update(r)
        h.update(b'\n')
      if (b'bookmarks' in peer.listkeys(b'namespaces')):
        for name, rev in peer.listkeys(b'bookmarks').items():
          h.update(name)
          h.update(b'=')
          h.update(rev)
          h.update(b'\n')
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top