Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,221 for Parametre (0.13 seconds)

  1. docs/ko/docs/tutorial/body-nested-models.md

    이는 `tags`를 리스트로 만들지만, 리스트 요소의 타입을 선언하지는 않습니다.
    
    ## 타입 매개변수가 있는 리스트 필드 { #list-fields-with-type-parameter }
    
    하지만 파이썬에는 내부 타입, 즉 "타입 매개변수"를 사용해 리스트를 선언하는 특정한 방법이 있습니다:
    
    ### 타입 매개변수로 `list` 선언 { #declare-a-list-with-a-type-parameter }
    
    `list`, `dict`, `tuple`처럼 타입 매개변수(내부 타입)를 갖는 타입을 선언하려면,
    대괄호 `[` 및 `]`를 사용해 내부 타입(들)을 "타입 매개변수"로 전달하세요.
    
    ```Python
    my_list: list[str]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。
    
    ## 带类型参数的 List 字段 { #list-fields-with-type-parameter }
    
    不过,Python 有一种用于声明具有内部类型(类型参数)的列表的特定方式:
    
    ### 声明带类型参数的 `list` { #declare-a-list-with-a-type-parameter }
    
    要声明具有类型参数(内部类型)的类型,例如 `list`、`dict`、`tuple`,使用方括号 `[` 和 `]` 传入内部类型作为「类型参数」:
    
    ```Python
    my_list: list[str]
    ```
    
    这完全是用于类型声明的标准 Python 语法。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. schema/schema.go

    					reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true)
    				} else {
    					logger.Default.Warn(context.Background(), "In model %v, the hook function `%v(*gorm.DB) error` has an incorrect parameter type. The expected parameter type is `%v`, but the provided type is `%v`.", schema, cbName, expectedPkgPath, inVarPkg)
    					// PASS
    				}
    			default:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Byte> none = Arrays.<Byte>asList();
        assertThat(Bytes.toArray(none)).isEqualTo(EMPTY);
    
        List<Byte> one = Arrays.asList((byte) 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

     * exceptions whenever it can.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> {
      // TODO: expose allow nulls parameter?
    
      public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) {
        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * method equivalent to {@link
     * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)},
     * except that the method parameter must accept whatever condition-like object is passed into {@code
     * callAndAssertWaits} by the test.
     *
     * @param <L> the type of the lock-like object to be used
     * @author Justin T. Sampson
     */
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/websockets.md

    ```
    
    </div>
    
    Abra seu navegador em: [http://127.0.0.1:8000](http://127.0.0.1:8000).
    
    Lá você pode definir:
    
    * O "Item ID", usado no path.
    * O "Token" usado como um parâmetro de consulta.
    
    /// tip | Dica
    
    Perceba que a consulta `token` será manipulada por uma dependência.
    
    ///
    
    Com isso você pode conectar o WebSocket e então enviar e receber mensagens:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    /// check | 检查
    
    注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    
    ///
    
    ## 查询参数类型转换 { #query-parameter-type-conversion }
    
    参数还可以声明为 `bool` 类型,FastAPI 会自动转换参数类型:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    本例中,访问:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    或
    
    ```
    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)
  9. tensorflow/c/eager/gradient_checker.cc

      vector<AbstractTensorHandle*> theta_inputs(inputs.size());
      for (int i{}; i < inputs.size(); ++i) {
        theta_inputs[i] = inputs[i];
      }
    
      AbstractTensorHandle* theta =
          theta_inputs[input_index];  // parameter we are grad checking
    
      // Convert from AbstractTensor to TF_Tensor.
      TF_Tensor* theta_tensor;
      TF_RETURN_IF_ERROR(GetValue(theta, &theta_tensor));
    
      // Get number of elements and fill data.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        /** The {@link BeanDesc} of the class that owns this method */
        protected final BeanDesc beanDesc;
    
        /** Constructor */
        protected final Constructor<?> constructor;
    
        /** Array of constructor parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** Information about parameterized argument types */
        protected final ParameterizedClassDesc[] parameterizedClassDescs;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top