Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 612 for Arguments (0.21 sec)

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

    ```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`).
    - Qualquer sequência de argumentos que deve ser passada para a função de tarefa na ordem (`email`).
    - Quaisquer argumentos nomeados que devem ser passados ​​para a função de tarefa (`mensagem = "alguma notificação"`).
    
    ## Injeção de dependência
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * .
         */
        @Test
        public void testLoadPropertiesInputStreamPropsNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/schema-extra-example.md

    Por exemplo, você pode usar isso para adicionar metadados para uma interface de usuário de front-end, etc.
    
    ///
    
    ## `Field` de argumentos adicionais
    
    Ao usar `Field ()` com modelos Pydantic, você também pode declarar informações extras para o **JSON Schema** passando quaisquer outros argumentos arbitrários para a função.
    
    Você pode usar isso para adicionar um `example` para cada campo:
    
    ```Python hl_lines="4  10-13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      TFE_TensorHandle* tensor(size_t index) const { return tensors_[index].get(); }
    
      // If the `shape` argument to `FromTensorHandles` is specified, returns that.
      //
      // Otherwise if all of the tensors have the same shape, returns that via the
      // `shape` output argument. This blocks waiting for async tensors, may return
      // a delayed bad status encountered during async execution, and will return a
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * specified accumulator function, returning the new value. The previous value associated with
       * {@code key} (or zero, if there is none) is passed as the first argument to {@code
       * accumulatorFunction}, and {@code x} is passed as the second argument.
       *
       * @since 21.0
       */
      @CanIgnoreReturnValue
      public long accumulateAndGet(K key, long x, LongBinaryOperator accumulatorFunction) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         * .
         */
        @Test
        public void testAssertArgumentNotNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[hoge] is null."));
            assertArgumentNotNull("hoge", null);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertArgument(String, boolean, String)}
         * .
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          contentLength: Long = -1L,
        ): ResponseBody = commonAsResponseBody(contentType, contentLength)
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
            ),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/distributed/DECOMMISSION.md

    Stop an on-going decommission in progress, mainly used in situations when the load may be too high and you may want to schedule the decommission at a later point in time.
    
    `mc admin decommission cancel` without an argument, lists out any on-going decommission in progress.
    
    ```
    λ mc admin decommission cancel alias/
    ┌─────┬─────────────────────────────────┬──────────────────────────────────┬──────────┐
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 11 14:59:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Para esses casos, em vez de declarar um parâmetro em uma *função de operação de rota* com `Depends`, você pode adicionar um argumento `dependencies` do tipo `list` ao decorador da operação de rota.
    
    ## Adicionando `dependencies` ao decorador da operação de rota
    
    O *decorador da operação de rota* recebe um argumento opcional `dependencies`.
    
    Ele deve ser uma lista de `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/configure-swagger-ui.md

    You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">Swagger UI parameters</a>.
    
    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:50:52 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top