Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,333 for field1s (0.21 sec)

  1. docs/uk/docs/tutorial/body-fields.md

    ## Імпорт `Field`
    
    Спочатку вам потрібно імпортувати це:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:25:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
                .add("field2", Arrays.asList("abc", "def", "ghi"))
                .add("field3", map)
                .toString();
        final String expected =
            "TestClass{"
                + "field1=This is string., field2=[abc, def, ghi], field3={abc=1, def=2, ghi=3}}";
    
        assertEquals(expected, toTest);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. schema/field_test.go

    	user, err := schema.Parse(&UserWithPermissionControl{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("Failed to parse user with permission, got error %v", err)
    	}
    
    	fields := []*schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, Creatable: true, Updatable: true, Readable: true, HasDefaultValue: true, AutoIncrement: true},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ToStringHelperTest.java

            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
                .add("field2", Arrays.asList("abc", "def", "ghi"))
                .add("field3", map)
                .toString();
        final String expected =
            "TestClass{"
                + "field1=This is string., field2=[abc, def, ghi], field3={abc=1, def=2, ghi=3}}";
    
        assertEquals(expected, toTest);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. tests/test_computed_fields.py

    from .utils import needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        app = FastAPI()
    
        from pydantic import BaseModel, computed_field
    
        class Rectangle(BaseModel):
            width: int
            length: int
    
            @computed_field
            @property
            def area(self) -> int:
                return self.width * self.length
    
        @app.get("/")
        def read_root() -> Rectangle:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. tests/customize_field_test.go

    	if cc2.Name != "bar" {
    		t.Errorf("Failed to query CustomizeColumn")
    	}
    }
    
    func TestCustomColumnAndIgnoredFieldClash(t *testing.T) {
    	// Make sure an ignored field does not interfere with another field's custom
    	// column name that matches the ignored field.
    	type CustomColumnAndIgnoredFieldClash struct {
    		Body    string `gorm:"-"`
    		RawBody string `gorm:"column:body"`
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  7. scan.go

    			mapValue[column] = nil
    		}
    	}
    }
    
    func (db *DB) scanIntoStruct(rows Rows, reflectValue reflect.Value, values []interface{}, fields []*schema.Field, joinFields [][]*schema.Field) {
    	for idx, field := range fields {
    		if field != nil {
    			values[idx] = field.NewValuePool.Get()
    		} else if len(fields) == 1 {
    			if reflectValue.CanAddr() {
    				values[idx] = reflectValue.Addr().Interface()
    			} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/mdo/profiles.mdo

              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Profile</name>
          <version>1.0.0</version>
          <description><![CDATA[
            Modifications to the build process which is keyed on some
            sort of environmental parameter.
          ]]></description>
          <fields>
            <field>
              <name>id</name>
              <required>true</required>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 03 21:08:35 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

              </description>
            </field>
          </fields>
        </class>
        <!-- /BuildProfile support -->
        <class locationTracker="locations">
          <name>InputLocation</name>
          <version>2.0.0+</version>
          <fields>
            <!-- line, column and source fields are auto-generated by Modello -->
          </fields>
          <codeSegments>
            <codeSegment>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  10. fastapi/utils.py

        new_field.default = field.default  # type: ignore[misc]
        new_field.required = field.required  # type: ignore[misc]
        new_field.model_config = field.model_config  # type: ignore[attr-defined]
        new_field.field_info = field.field_info
        new_field.allow_none = field.allow_none  # type: ignore[attr-defined]
        new_field.validate_always = field.validate_always  # type: ignore[attr-defined]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top