Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 834 for ITEM (0.03 sec)

  1. docs/ja/docs/tutorial/body-updates.md

    しかし、このガイドでは、それらがどのように使用されることを意図しているかを多かれ少なかれ、示しています。
    
    ///
    
    ### Pydanticの`exclude_unset`パラメータの使用
    
    部分的な更新を受け取りたい場合は、Pydanticモデルの`.dict()`の`exclude_unset`パラメータを使用すると非常に便利です。
    
    `item.dict(exclude_unset=True)`のように。
    
    これにより、`item`モデルの作成時に設定されたデータのみを持つ`dict`が生成され、デフォルト値は除外されます。
    
    これを使うことで、デフォルト値を省略して、設定された(リクエストで送られた)データのみを含む`dict`を生成することができます:
    
    ```Python hl_lines="34"
    {!../../docs_src/body_updates/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. fastapi/encoders.py

            return encoded_dict
        if isinstance(obj, (list, set, frozenset, GeneratorType, tuple, deque)):
            encoded_list = []
            for item in obj:
                encoded_list.append(
                    jsonable_encoder(
                        item,
                        include=include,
                        exclude=exclude,
                        by_alias=by_alias,
                        exclude_unset=exclude_unset,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    		return nil
    	}
    
    	if len(s.Items) == 0 {
    		return nil
    	}
    
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    
    	for _, item := range s.Items {
    		if err := e.Encode(xmlKeyEntry{
    			XMLName: xxml.Name{Local: item.Key},
    			Value:   item.Value,
    		}); err != nil {
    			return err
    		}
    	}
    
    	return e.EncodeToken(start.End())
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    	defer batch.Close()
    
    	var wg sync.WaitGroup
    	for i := 0; i < int(limit); i++ {
    		wg.Add(1)
    		go func(key int) {
    			defer wg.Done()
    			if err := batch.Add(testItem); err != nil {
    				t.Errorf("failed to add item %v; %v", key, err)
    				return
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword.jsp

                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/elevateword">
                                    <la:message key="labels.elevate_word_link_list"/>
                                </la:link></li>
                            </ol>
                        </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

    message NetworkPolicyEgressRule {
      // List of destination ports for outgoing traffic.
      // Each item in this list is combined using a logical OR. If this field is
      // empty or missing, this rule matches all ports (traffic not restricted by port).
      // If this field is present and contains at least one item, then this rule allows
      // traffic only if the traffic matches at least one port in the list.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  7. docs/en/docs/css/custom.css

    a.announce-link:hover {
      color: var(--md-accent-fg-color);
    }
    
    .announce-wrapper {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
    }
    
    .announce-wrapper div.item {
      display: none;
    }
    
    .announce-wrapper .sponsor-badge {
      display: block;
      position: absolute;
      top: -10px;
      right: 0;
      font-size: 0.5rem;
      color: #999;
      background-color: #666;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 17 02:12:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs/de/docs/python-types.md

    <img src="/img/python-types/image05.png">
    
    Ohne Typen ist das fast unmöglich zu erreichen.
    
    Beachten Sie, dass die Variable `item` eines der Elemente in der Liste `items` ist.
    
    Und trotzdem weiß der Editor, dass es sich um ein `str` handelt, und bietet entsprechende Unterstützung.
    
    #### Tupel und Menge
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo.jsp

                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/crawlinginfo">
                                    <la:message key="labels.crawling_info_title"/>
                                </la:link></li>
                            </ol>
                        </div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.4K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/query-params-str-validations.md

    ## Псевдонимы параметров
    
    Представьте, что вы хотите использовать query-параметр с названием `item-query`.
    
    Например:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Но `item-query` является невалидным именем переменной в Python.
    
    Наиболее похожее валидное имя `item_query`.
    
    Но вам всё равно необходим `item-query`...
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top