Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,168 for item2 (0.02 seconds)

  1. docs/es/docs/advanced/websockets.md

    ```
    
    </div>
    
    Abre tu navegador en <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Ahí puedes establecer:
    
    * El "ID del Ítem", usado en el path.
    * El "Token" usado como un parámetro query.
    
    /// tip | Consejo
    
    Nota que el query `token` será manejado por una dependencia.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/response-directly.md

    **FastAPI** は開発者の利便性のために `fastapi.responses` という `starlette.responses` と同じものを提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。
    
    ///
    
    ## カスタム `Response` を返す
    
    上記の例では必要な部分を全て示していますが、あまり便利ではありません。`item` を直接返すことができるし、**FastAPI** はそれを `dict` に変換して `JSONResponse` に含めてくれるなど。すべて、デフォルトの動作です。
    
    では、これを使ってカスタムレスポンスをどう返すか見てみましょう。
    
    <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>レスポンスを返したいとしましょう。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/response-directly.md

    ///
    
    ## Retornando uma `Response` personalizada { #returning-a-custom-response }
    
    O exemplo acima mostra todas as partes que você precisa, mas ainda não é muito útil, já que você poderia ter retornado o `item` diretamente, e o **FastAPI** colocaria em uma `JSONResponse` para você, convertendo em um `dict`, etc. Tudo isso por padrão.
    
    Agora, vamos ver como você pode usar isso para retornar uma resposta personalizada.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. helm-releases/minio-1.0.0.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 20 22:30:54 GMT 2021
    - 13.5K bytes
    - Click Count (0)
  5. helm-releases/minio-1.0.1.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 20 22:32:29 GMT 2021
    - 13.5K bytes
    - Click Count (0)
  6. helm-releases/minio-1.0.3.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 24 19:04:07 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  7. helm-releases/minio-1.0.4.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 25 02:12:51 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  8. helm-releases/minio-1.0.5.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 25 19:53:57 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  9. helm-releases/minio-2.0.0.tgz

    template "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local To access Minio from localhost, run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000....
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 26 07:36:46 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/response-model.md

    Якщо Ви додасте анотацію типу для повернення, редактор коду або mypy можуть поскаржитися, що функція повертає інший тип (наприклад, dict замість Item).
    
    У таких випадках можна скористатися параметром `response_model` в декораторі маршруту (наприклад, @app.get()).
    
    Параметр `response_model` працює з будь-яким *оператором шляху*:
    
    * `@app.get()`
    * `@app.post()`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 24 19:14:01 GMT 2025
    - 24.8K bytes
    - Click Count (0)
Back to Top