Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 326 for float64 (0.09 sec)

  1. docs/ko/docs/tutorial/path-params.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다.
    
    `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <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 | 확인
    
    즉, 파이썬 타입 선언을 하면 **FastAPI**는 데이터 검증을 합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        private final List<String> languages = new ArrayList<>();
    
        private boolean suggestDetail = true;
    
        private ReadingConverter readingConverter;
    
        private Normalizer normalizer;
    
        private float prefixMatchWeight = 2.0f;
    
        private boolean matchWordFirst = true;
    
        private boolean skipDuplicateWords = true;
    
        /**
         * Sets the index name.
         * @param index The index name.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. docs/tr/docs/index.md

        * `price` adında zorunlu bir parametre olup olmadığını ve varsa tipinin `float` olup olmadığını kontol edecek.
        * `is_offer` adında opsiyonel bir parametre olup olmadığını ve varsa tipinin `float` olup olmadığını kontol edecek.
        * Bunların hepsi en derin JSON nesnelerinde bile çalışacak.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/path-params-numeric-validations.md

    🎏 ✔:
    
    * `gt`: `g`🅾 `t`👲
    * `le`: `l`👭 🌘 ⚖️ `e`🅾
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005.py hl[9] *}
    
    ## 🔢 🔬: 🎈, 🌘 🌘 &amp; 🌘 🌘
    
    🔢 🔬 👷 `float` 💲.
    
    📥 🌐❔ ⚫️ ▶️️ ⚠ 💪 📣 <abbr title="greater than"><code>gt</code></abbr> &amp; 🚫 <abbr title="greater than or equal"><code>ge</code></abbr>. ⏮️ ⚫️ 👆 💪 🚚, 🖼, 👈 💲 🔜 👑 🌘 `0`, 🚥 ⚫️ 🌘 🌘 `1`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. docs/zh-hant/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
    - 18.8K bytes
    - Viewed (0)
  6. docs/fr/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
    - 22K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top