Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,735 for status (0.18 sec)

  1. internal/kms/status-manager.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // StatusManager is the generic interface that handles KMS status operations
    type StatusManager interface {
    	// Version retrieves version information
    	Version(ctx context.Context) (string, error)
    	// APIs retrieves a list of supported API endpoints
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-status-code.md

        **FastAPI** позволяет использовать как `starlette.status`, так и `fastapi.status` исключительно для удобства разработчиков. Но поставляется fastapi.status непосредственно из Starlette.
    
    ## Изменение кода статуса по умолчанию
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 25 18:44:34 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/additional-status-codes.md

    Para conseguir esto importa `JSONResponse` y devuelve ahí directamente tu contenido, asignando el `status_code` que quieras:
    
    ```Python hl_lines="4  25"
    {!../../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    !!! warning "Advertencia"
        Cuando devuelves directamente una `Response`, como en los ejemplos anteriores, será devuelta directamente.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/ja/docs/advanced/additional-status-codes.md

    例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。
    
    しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。
    
    これを達成するには、 `JSONResponse` をインポートし、 `status_code` を設定して直接内容を返します。
    
    ```Python hl_lines="4  25"
    {!../../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    !!! warning "注意"
        上記の例のように `Response` を明示的に返す場合、それは直接返されます。
    
        モデルなどはシリアライズされません。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/response-status-code.md

    Da mesma forma que você pode especificar um modelo de resposta, você também pode declarar o código de status HTTP usado para a resposta com o parâmetro `status_code` em qualquer uma das *operações de caminho*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note "Nota"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 31 16:22:07 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-status-code.md

    # Response Status Code
    
    The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-status-code.md

        **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette.
    
    ## Den Defaultwert ändern
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:32:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/response-status-code.md

    ```
    
    这只是一种快捷方式,具有相同的数字代码,但它可以使用编辑器的自动补全功能:
    
    <img src="../../../../../../img/tutorial/response-status-code/image02.png">
    
    !!! note "技术细节"
    
        也可以使用 `from starlette import status`。
    
        为了让开发者更方便,**FastAPI** 提供了与 `starlette.status` 完全相同的 `fastapi.status`。但它直接来自于 Starlette。
    
    ## 更改默认状态码
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:40:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/response-status-code.md

    {!../../../docs_src/response_status_code/tutorial002.py!}
    ```
    
    それらは便利です。それらは同じ番号を保持しており、その方法ではエディタの自動補完を使用してそれらを見つけることができます。
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image02.png">
    
    !!! note "技術詳細"
        また、`from starlette import status`を使うこともできます。
    
        **FastAPI** は、`開発者の利便性を考慮して、fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。
    
    ## デフォルトの変更
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 15:42:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/additional-status-codes.md

    ✋️ 👆 💚 ⚫️ 🚫 🆕 🏬. &amp; 🕐❔ 🏬 🚫 🔀 ⏭, ⚫️ ✍ 👫, &amp; 📨 🇺🇸🔍 👔 📟 2️⃣0️⃣1️⃣ "✍".
    
    🏆 👈, 🗄 `JSONResponse`, &amp; 📨 👆 🎚 📤 🔗, ⚒ `status_code` 👈 👆 💚:
    
    ```Python hl_lines="4  25"
    {!../../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    !!! warning
        🕐❔ 👆 📨 `Response` 🔗, 💖 🖼 🔛, ⚫️ 🔜 📨 🔗.
    
        ⚫️ 🏆 🚫 🎻 ⏮️ 🏷, ♒️.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top