Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 480 for Floats (0.06 sec)

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

    それをここで見ていきましょう。
    
    この場合、`int`のキーと`float`の値を持つものであれば、どんな`dict`でも受け入れることができます:
    
    {* ../../docs_src/body_nested_models/tutorial009.py hl[15] *}
    
    /// tip | 豆知識
    
    JSONはキーとして`str`しかサポートしていないことに注意してください。
    
    しかしPydanticには自動データ変換機能があります。
    
    これは、APIクライアントがキーとして文字列しか送信できなくても、それらの文字列に純粋な整数が含まれている限り、Pydanticが変換して検証することを意味します。
    
    そして、`weights`として受け取る`dict`は、実際には`int`のキーと`float`の値を持つことになります。
    
    ///
    
    ## まとめ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. cmd/event-notification.go

    		// this out pro-actively.
    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/es/docs/python-types.md

    Python tiene soporte para "anotaciones de tipos" opcionales (también llamadas "type hints").
    
    Estas **"anotaciones de tipos"** o type hints son una sintaxis especial que permite declarar el <abbr title="por ejemplo: str, int, float, bool">tipo</abbr> de una variable.
    
    Al declarar tipos para tus variables, los editores y herramientas te pueden proporcionar un mejor soporte.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  4. docs/fa/docs/python-types.md

    پایتون از "نوع‌نما"های اختیاری (که بهشون "type hints" یا "type annotations" هم می‌گن) پشتیبانی می‌کنه.
    
    این **"نوع‌نماها"** یا annotationها یه سینتکس خاص هستن که بهت اجازه می‌دن <abbr title="مثلاً: str, int, float, bool">نوع</abbr> یه متغیر رو مشخص کنی.
    
    با مشخص کردن نوع متغیرها، ویرایشگرها و ابزارها می‌تونن پشتیبانی بهتری بهت بدن.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. docs/ru/docs/index.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java

        //                                                                        ============
        public static class SearchRequestParams {
    
            private Boolean explain;
    
            private Float minScore;
    
            private String preference;
    
            private String routing;
    
            private String searchType;
    
            private long timeoutInMillis = -1;
    
            private Boolean version;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/path-params.md

    Aynı hata <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> sayfasında olduğu gibi `int` yerine `float` bir değer verseydik de ortaya çıkardı.
    
    /// check | Ek bilgi
    
    Böylece, aynı Python tip tanımlaması ile birlikte, **FastAPI** veri doğrulama özelliği sağlar.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    тому що параметр шляху має значення `"foo"`, яке не є типом `int`.
    
    Таку саму помилку отримаємо, якщо передати `float` замість `int`, як бачимо, у цьому прикладі: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Примітка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard_config.jsp

                                <la:message key="labels.wizard_crawling_config_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/wizard/">
                                    <la:message key="labels.wizard_start_title"/>
                                </la:link></li>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/_aws/fess/doc.json

                "analyzer": "empty_analyzer"
              }
            }
          }
        ],
        "properties": {
          "anchor": {
            "type": "keyword"
          },
          "boost": {
            "type": "float"
          },
          "click_count": {
            "type": "long"
          },
          "config_id": {
            "type": "keyword"
          },
          "important_content": {
            "type": "text",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top