Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4291 - 4300 of 4,556 for true (0.02 seconds)

  1. docs/de/docs/advanced/middleware.md

    * `www_redirect` – Wenn auf True gesetzt, werden Requests an Nicht-www-Versionen der erlaubten Hosts zu deren www-Gegenstücken umgeleitet. Der Defaultwert ist `True`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/openapi-callbacks.md

    ```
    
    com um corpo JSON contendo algo como:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    ```
    
    e esperaria uma resposta daquela *API externa* com um corpo JSON como:
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | Dica
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. tests/test_reponse_set_reponse_code_empty.py

                            "operationId": "delete_deployment__id__delete",
                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "Id", "type": "integer"},
                                    "name": "id",
                                    "in": "path",
                                }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/query-params-str-validations.md

    ## 弃用参数 { #deprecating-parameters }
    
    现在假设你不再喜欢这个参数了。
    
    由于还有客户端在使用它,你不得不保留一段时间,但你希望文档清楚地将其展示为<dfn title="已过时,不推荐使用">已弃用</dfn>。
    
    那么将参数 `deprecated=True` 传给 `Query`:
    
    {* ../../docs_src/query_params_str_validations/tutorial010_an_py310.py hl[19] *}
    
    文档将会像下面这样展示它:
    
    <img src="/img/tutorial/query-params-str-validations/image01.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  5. tests/test_exception_handlers.py

        assert response.status_code == 500
        assert response.json() == {"exception": "server-error"}
    
    
    def test_traceback_for_dependency_with_yield():
        client = TestClient(app, raise_server_exceptions=True)
        with pytest.raises(ValueError) as exc_info:
            client.get("/dependency-with-yield")
        last_frame = exc_info.traceback[-1]
        assert str(last_frame.path) == __file__
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 03 22:37:12 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. tests/test_required_noneable.py

    def read_query(q: str | None):
        return q
    
    
    @app.get("/explicit-query")
    def read_explicit_query(q: str | None = Query()):
        return q
    
    
    @app.post("/body-embed")
    def send_body_embed(b: str | None = Body(embed=True)):
        return b
    
    
    client = TestClient(app)
    
    
    def test_required_nonable_query_invalid():
        response = client.get("/query")
        assert response.status_code == 422
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      private lateinit var scheme: String
    
      private fun configureClientTestRule(): OkHttpClientTestRule {
        val clientTestRule = OkHttpClientTestRule()
        clientTestRule.recordTaskRunner = true
        return clientTestRule
      }
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        if (protocol === Protocol.HTTP_2) {
          platform.assumeHttp2Support()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/JobLogService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a specific job log from the database.
         *
         * @param jobLog the job log to delete
         */
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/openapi-callbacks.md

    ```
    
    avec un corps JSON contenant quelque chose comme :
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    ```
    
    et elle s’attendra à une réponse de cette *API externe* avec un corps JSON comme :
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/query-params.md

    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    もしくは、他の大文字小文字のバリエーション (アッパーケース、最初の文字だけアッパーケース、など)で、関数は `short` パラメータを `True` な `bool` 値として扱います。それ以外は `False` になります。
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top