Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 613 for flat (0.02 seconds)

  1. tests/test_arbitrary_types.py

        )
    
        class FakeNumpyArray:
            def __init__(self):
                self.data = [1.0, 2.0, 3.0]
    
        FakeNumpyArrayPydantic = Annotated[
            FakeNumpyArray,
            WithJsonSchema(TypeAdapter(list[float]).json_schema()),
            PlainSerializer(lambda v: v.data),
        ]
    
        class MyModel(BaseModel):
            model_config = ConfigDict(arbitrary_types_allowed=True)
            custom_field: FakeNumpyArrayPydantic
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. internal/s3select/sql/parser.go

    	Timestamp1 *PrimaryTerm `parser:" @@ \",\" "`
    	Timestamp2 *PrimaryTerm `parser:" @@ \")\" "`
    }
    
    // LitValue represents a literal value parsed from the sql
    type LitValue struct {
    	Float   *float64       `parser:"(  @Float"`
    	Int     *float64       `parser:" | @Int"` // To avoid value out of range, use float64 instead
    	String  *LiteralString `parser:" | @LitString"`
    	Boolean *Boolean       `parser:" | @(\"TRUE\" | \"FALSE\")"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/body-nested-models.md

    * Datenkonvertierung
    * Datenvalidierung
    * Automatische Dokumentation
    
    ## Spezielle Typen und Validierungen { #special-types-and-validation }
    
    Abgesehen von normalen einfachen Typen wie `str`, `int`, `float`, usw. können Sie komplexere einfache Typen verwenden, die von `str` erben.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       */
      ObjectCountHashMap(int capacity) {
        this(capacity, DEFAULT_LOAD_FACTOR);
      }
    
      ObjectCountHashMap(int expectedSize, float loadFactor) {
        init(expectedSize, loadFactor);
      }
    
      void init(int expectedSize, float loadFactor) {
        Preconditions.checkArgument(expectedSize >= 0, "Initial capacity must be non-negative");
        Preconditions.checkArgument(loadFactor > 0, "Illegal load factor");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/mvnenc

    #
    # Environment Variable Prerequisites
    #
    #   JAVA_HOME           (Optional) Points to a Java installation.
    #   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    # -----------------------------------------------------------------------------
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 18 11:01:21 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/mvnsh

    #
    # Environment Variable Prerequisites
    #
    #   JAVA_HOME           (Optional) Points to a Java installation.
    #   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    # -----------------------------------------------------------------------------
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. tests/test_tuples.py

    from fastapi.testclient import TestClient
    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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  9. docs_src/python_types/tutorial005_py39.py

    def get_items(item_a: str, item_b: int, item_c: float, item_d: bool, item_e: bytes):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 06:40:21 GMT 2025
    - 135 bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
                if (formal == Float.TYPE
                        && (actual == Float.class
                                || actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top