Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 1,383 for Items (0.05 sec)

  1. docs/zh/docs/python-types.md

    由于列表是带有"子类型"的类型,所以我们把子类型放在方括号中:
    
    ```Python hl_lines="4"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    这表示:"变量 `items` 是一个 `list`,并且这个列表里的每一个元素都是 `str`"。
    
    这样,即使在处理列表中的元素时,你的编辑器也可以提供支持。
    
    没有类型,几乎是不可能实现下面这样:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image05.png">
    
    注意,变量 `item` 是列表 `items` 中的元素之一。
    
    而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。
    
    #### 元组和集合
    
    声明 `tuple` 和 `set` 的方法也是一样的:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

    ///
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Использование одной и той же зависимости несколько раз
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    ///
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Utilizando a mesma dependência múltiplas vezes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate_test.go

    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	validDeploymentList = `
    apiVersion: v1
    items:
    - apiVersion: apps/v1
      kind: Deployment
      metadata:
        labels:
          app: hello
          version: v1
        name: hello-v1
      spec:
        replicas: 1
        template:
          metadata:
            labels:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    ////
    
    Затем, получив такой URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы бы получили несколько значений (`foo` и `bar`), которые относятся к параметру `q`, в виде Python `list` внутри вашей *функции обработки пути*, в *параметре функции* `q`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. helm-releases/minio-3.6.2.tgz

    . }} - secret: name: {{ template "minio.secretName" . }} {{- range .Values.users }} {{- if .existingSecret }} - secret: name: {{ .existingSecret }} items: - key: {{ .existingSecretKey }} path: secrets/{{ .accessKey }} {{- end }} {{- end }} {{- if .Values.tls.enabled }} - name: cert-secret-volume-mc secret: secretName: {{ .Values.tls.certSecret }} items: - key: {{ .Values.tls.publicCrt }} path: CAs/public.crt {{ end }} containers: - name: minio-mc image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 17 18:30:55 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  8. docs/ko/docs/python-types.md

    대괄호 안의 내부 타입은 "타입 매개변수(type paramters)"라고 합니다.
    
    이번 예제에서는 `str`이 `List`에 들어간 타입 매개변수 입니다.
    
    ///
    
    이는 "`items`은 `list`인데, 배열에 들어있는 아이템 각각은 `str`이다"라는 뜻입니다.
    
    이렇게 함으로써, 에디터는 배열에 들어있는 아이템을 처리할때도 도움을 줄 수 있게 됩니다:
    
    <img src="/img/python-types/image05.png">
    
    타입이 없으면 이건 거의 불가능이나 다름 없습니다.
    
    변수 `item`은 `items`의 개별 요소라는 사실을 알아두세요.
    
    그리고 에디터는 계속 `str`라는 사실을 알고 도와줍니다.
    
    #### `Tuple`과 `Set`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
     *       groups and the items within equality groups are numbered starting from 1. When either a
     *       constructor argument or an equal object is provided, that becomes group 1.
     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. architecture/networking/controllers.md

    * Ability to serially process updates received from a variety of different sources. This avoids need for other synchronization mechanisms like mutexes.
    * Correctness at startup; with the sequencing above, items are only processed once all informers are synced. This means queries will not return stale data at startup.
    * Deduping of identical events
    * Automatic retrying of failed events (configurable)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top