Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 1,923 for json$ (0.09 seconds)

  1. internal/config/notify/parse.go

    	logger.LogOnceIf(ctx, logSubsys, err, id, errKind...)
    }
    
    // ErrTargetsOffline - Indicates single/multiple target failures.
    var ErrTargetsOffline = errors.New("one or more targets are offline. Please use `mc admin info --json` to check the offline targets")
    
    // TestSubSysNotificationTargets - tests notification targets of given subsystem
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  2. .github/hub_scripts/pr_ci.sh

    # This script must be executed from the branch associated with the PR to issue the command on.
    #
    
    PR_NUMBER=$(hub pr show -f '%I')
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 22 15:25:21 GMT 2021
    - 1K bytes
    - Click Count (0)
  3. tests/test_router_prefix_with_template.py

    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Click Count (0)
  4. docs/zh/docs/how-to/custom-request-and-route.md

    尤其是,当你本来会把这些逻辑放到中间件里时,这是一个不错的替代方案。
    
    例如,如果你想在应用处理之前读取或操作请求体。
    
    /// danger | 危险
    
    这是一个“高级”特性。
    
    如果你刚开始使用 **FastAPI**,可以先跳过本节。
    
    ///
    
    ## 使用场景 { #use-cases }
    
    一些使用场景包括:
    
    * 将非 JSON 的请求体转换为 JSON(例如 [`msgpack`](https://msgpack.org/index.html))。
    * 解压缩使用 gzip 压缩的请求体。
    * 自动记录所有请求体日志。
    
    ## 处理自定义请求体编码 { #handling-custom-request-body-encodings }
    
    来看如何用自定义的 `Request` 子类来解压 gzip 请求。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/query-params.md

    这里的查询参数 `needy` 是类型为 `str` 的必选查询参数。
    
    在浏览器中打开如下 URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...因为路径中没有必选参数 `needy`,返回的响应中会显示如下错误信息:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. docs/de/docs/how-to/extending-openapi.md

    Als Teil der Erstellung des Anwendungsobjekts wird eine *Pfadoperation* für `/openapi.json` (oder welcher Wert für den Parameter `openapi_url` gesetzt wurde) registriert.
    
    Diese gibt lediglich eine JSON-<abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> zurück, mit dem Ergebnis der Methode `.openapi()` der Anwendung.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. docs/es/docs/how-to/extending-openapi.md

    Como parte de la creación del objeto de la aplicación, se registra una *path operation* para `/openapi.json` (o para lo que sea que configures tu `openapi_url`).
    
    Simplemente devuelve un response JSON con el resultado del método `.openapi()` de la aplicación.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. docs/uk/docs/history-design-future.md

    Також найкращим підходом було використовувати вже наявні стандарти.
    
    Тож, ще до початку написання коду **FastAPI**, я провів кілька місяців, вивчаючи специфікації OpenAPI, Схеми JSON, OAuth2 тощо. Розуміючи їхні взаємозв'язки, перетини та відмінності.
    
    ## Проєктування { #design }
    
    Потім я приділив час проєктуванню «API» для розробника, яке я хотів мати як користувач (як розробник, що використовує FastAPI).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. tests/test_custom_swagger_ui_redirect.py

        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    def test_response():
        response = client.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 1.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_background_tasks/test_tutorial002.py

        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 968 bytes
    - Click Count (0)
Back to Top