Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for sekund (0.2 sec)

  1. docs/pt/docs/tutorial/background-tasks.md

    ```
    
    ## Adicionar a tarefa em segundo plano
    
    Dentro de sua _função de operação de caminho_, passe sua função de tarefa para o objeto _tarefas em segundo plano_ com o método `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` recebe como argumentos:
    
    - Uma função de tarefa a ser executada em segundo plano (`write_notification`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 09 23:44:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // object refers to a metric describing a single kubernetes object
      // (for example, hits-per-second on an Ingress object).
      // +optional
      optional ObjectMetricSource object = 2;
    
      // pods refers to a metric describing each pod in the current scale target
      // (for example, transactions-processed-per-second).  The values will be
      // averaged together before being compared to the target value.
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. docs/de/docs/features.md

    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info
        `**second_user_data` bedeutet:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // object refers to a metric describing a single kubernetes object
      // (for example, hits-per-second on an Ingress object).
      // +optional
      optional ObjectMetricSource object = 2;
    
      // pods refers to a metric describing each pod in the current scale target
      // (for example, transactions-processed-per-second).  The values will be
      // averaged together before being compared to the target value.
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/additional-responses.md

    对于这些情况,你可以使用Python的技术,将 `dict` 与 `**dict_to_unpack` 解包:
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    这里, new_dict 将包含来自 old_dict 的所有键值对加上新的键值对:
    ```python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    您可以使用该技术在路径操作中重用一些预定义的响应,并将它们与其他自定义响应相结合。
    **例如:**
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:53:39 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DuplexTest.kt

          requestBody1.flush()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("stream was reset: CANCEL")
        }
        body1.awaitSuccess()
    
        // Second duplex request proceeds normally.
        val requestBody2 = (call.request().body as AsyncRequestBody?)!!.takeSink()
        requestBody2.writeUtf8("request body\n")
        requestBody2.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt

          .callTimeout(10, TimeUnit.SECONDS)
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build()
    
        client.newCall(request).execute().use { response ->
          println("Response completed: $response")
        }
      }
    }
    
    fun main() {
      ConfigureTimeouts().run()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. docs/en/docs/reference/websockets.md

                - application_state
                - receive
                - send
                - accept
                - receive_text
                - receive_bytes
                - receive_json
                - iter_text
                - iter_bytes
                - iter_json
                - send_text
                - send_bytes
                - send_json
                - close
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/1-time.md

    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. docs/ja/docs/features.md

    ```
    
    これは以下のように用いられます:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info "情報"
        `**second_user_data` は以下を意味します:
    
        `second_user_data`辞書のキーと値を直接、キーと値の引数として渡します。これは、`User(id=4, name="Mary", joined="2018-11-30")`と同等です。
    
    ### エディタのサポート
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top