Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for Fields (0.22 sec)

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

        ```
    
    !!! warning "경고"
        `Field`는 다른 것들처럼 (`Query`, `Path`, `Body` 등) `fastapi`에서가 아닌 `pydantic`에서 바로 임포트 되는 점에 주의하세요.
    
    ## 모델 어트리뷰트 선언
    
    그 다음 모델 어트리뷰트와 함께 `Field`를 사용할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11-14"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/body-fields.md

    与在*路径操作函数*中使用 `Query`、`Path` 、`Body` 声明校验与元数据的方式一样,可以使用 Pydantic 的 `Field` 在 Pydantic 模型内部声明校验和元数据。
    
    ## 导入 `Field`
    
    首先,从 Pydantic 中导入 `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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. fastapi/_compat.py

                field.field_info.annotation
            ) and not isinstance(field.field_info, params.Body)
    
        def is_sequence_field(field: ModelField) -> bool:
            return field_annotation_is_sequence(field.field_info.annotation)
    
        def is_scalar_sequence_field(field: ModelField) -> bool:
            return field_annotation_is_scalar_sequence(field.field_info.annotation)
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

              <association>
                <type>Reporting</type>
              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>PluginContainer</name>
          <version>3.0.0+</version>
          <description>Contains the plugins information for the project.</description>
          <fields>
            <field>
              <name>plugins</name>
              <version>4.0.0+</version>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  5. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

        body_schema = get_schema_from_model_field(
            field=body_field,
            schema_generator=schema_generator,
            model_name_map=model_name_map,
            field_mapping=field_mapping,
            separate_input_output_schemas=separate_input_output_schemas,
        )
        field_info = cast(Body, body_field.field_info)
        request_media_type = field_info.media_type
        required = body_field.required
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  7. fastapi/routing.py

                    response_field = create_response_field(name=response_name, type_=model)
                    response_fields[additional_status_code] = response_field
            if response_fields:
                self.response_fields: Dict[Union[int, str], ModelField] = response_fields
            else:
                self.response_fields = {}
    
            assert callable(endpoint), "An endpoint must be a callable"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    index.field.config_id=config_id
    index.field.expires=expires
    index.field.url=url
    index.field.doc_id=doc_id
    index.field.id=_id
    index.field.version=_version
    index.field.seq_no=_seq_no
    index.field.primary_term=_primary_term
    index.field.lang=lang
    index.field.has_cache=has_cache
    index.field.last_modified=last_modified
    index.field.anchor=anchor
    index.field.segment=segment
    index.field.role=role
    index.field.boost=boost
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 30.6K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String INDEX_ADMIN_LONG_FIELDS = "index.admin.long.fields";
    
        /** The key of the configuration. e.g. boost */
        String INDEX_ADMIN_FLOAT_FIELDS = "index.admin.float.fields";
    
        /** The key of the configuration. e.g.  */
        String INDEX_ADMIN_DOUBLE_FIELDS = "index.admin.double.fields";
    
        /** The key of the configuration. e.g. url,title,role,boost */
        String INDEX_ADMIN_REQUIRED_FIELDS = "index.admin.required.fields";
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (4)
  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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top