Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 708 for Floats (0.05 seconds)

  1. tests/test_tuples.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class ItemGroup(BaseModel):
        items: list[tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/body-nested-models.md

    * Conversão de dados
    * Validação de dados
    * Documentação automática
    
    ## Tipos especiais e validação { #special-types-and-validation }
    
    Além dos tipos singulares normais como `str`, `int`, `float`, etc. Você também pode usar tipos singulares mais complexos que herdam de `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/PrimitiveSink.java

      @CanIgnoreReturnValue
      PrimitiveSink putInt(int i);
    
      /** Puts a long into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putLong(long l);
    
      /** Puts a float into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putFloat(float f);
    
      /** Puts a double into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putDouble(double d);
    
      /** Puts a boolean into this sink. */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. docs_src/pydantic_v1_in_v2/tutorial001_an_py310.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 124 bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

      @Override
      public long longValue() {
        return (long) get();
      }
    
      /**
       * Returns the value of this {@code AtomicDouble} as a {@code float} after a narrowing primitive
       * conversion.
       */
      @Override
      public float floatValue() {
        return (float) get();
      }
    
      /** Returns the value of this {@code AtomicDouble} as a {@code double}. */
      @Override
      public double doubleValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/body-nested-models.md

    * Конвертацію даних
    * Валідацію даних
    * Автоматичну документацію
    
    ## Спеціальні типи та валідація { #special-types-and-validation }
    
    Окрім звичайних типів, таких як `str`, `int`, `float`, та ін. ви можете використовувати складніші типи, які наслідують `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs_src/python_types/tutorial005_py310.py

    def get_items(item_a: str, item_b: int, item_c: float, item_d: bool, item_e: bytes):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 135 bytes
    - Click Count (0)
  8. docs_src/extra_models/tutorial005_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 180 bytes
    - Click Count (0)
  9. docs_src/strict_content_type/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI(strict_content_type=False)
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 231 bytes
    - Click Count (0)
  10. src/main/resources/fess_indices/fess_config.elevate_word/elevate_word.json

          "suggestWord": {
            "type": "keyword"
          },
          "reading": {
            "type": "keyword"
          },
          "permissions": {
            "type": "keyword"
          },
          "boost": {
            "type": "float"
          },
          "createdBy": {
            "type": "keyword"
          },
          "createdTime": {
            "type": "long"
          },
          "updatedBy": {
            "type": "keyword"
          },
          "updatedTime": {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 471 bytes
    - Click Count (0)
Back to Top