Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,315 for myfield (0.04 sec)

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

    # 请求体 - 字段
    
    与在*路径操作函数*中使用 `Query`、`Path` 、`Body` 声明校验与元数据的方式一样,可以使用 Pydantic 的 `Field` 在 Pydantic 模型内部声明校验和元数据。
    
    ## 导入 `Field`
    
    首先,从 Pydantic 中导入 `Field`:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | 警告
    
    注意,与从 `fastapi` 导入 `Query`,`Path`、`Body` 不同,要直接从 `pydantic` 导入 `Field` 。
    
    ///
    
    ## 声明模型属性
    
    然后,使用 `Field` 定义模型的属性:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        void constructor_shouldInitializeFields() throws Exception {
            // Verify configuration is set
            Field configField = NameServicePacket.class.getDeclaredField("config");
            configField.setAccessible(true);
            assertSame(mockConfig, configField.get(response));
    
            // Verify queryAddress is set
            Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/advanced-dependencies.md

    Puedes leer más al respecto en la documentación de [Dependencias con `yield` - Salida temprana y `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope).
    
    ### Dependencias con `yield` y `StreamingResponse`, detalles técnicos { #dependencies-with-yield-and-streamingresponse-technical-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs_src/schema_extra_example/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(examples=["Foo"])
        description: Union[str, None] = Field(default=None, examples=["A very nice Item"])
        price: float = Field(examples=[35.4])
        tax: Union[float, None] = Field(default=None, examples=[3.2])
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 517 bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-fields.md

    ## Import `Field` { #import-field }
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                final String highlightText = StringUtils.strip(text, "*");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                // Verify the fields were set correctly using reflection
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
                assertEquals(expectedOplockLevel, oplockLevelField.get(notification));
    
                Field fileIdField = Smb2OplockBreakNotification.class.getDeclaredField("fileId");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. cmd/local-locker_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Name":
    			z.Name, err = dc.ReadString()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. callbacks/associations.go

    						obj := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(obj).Kind() != reflect.Struct {
    							break
    						}
    						if _, zero := rel.Field.ValueOf(db.Statement.Context, obj); !zero { // check belongs to relation value
    							rv := rel.Field.ReflectValueOf(db.Statement.Context, obj) // relation reflect value
    							if !isPtr {
    								rv = rv.Addr()
    							}
    							objs = append(objs, obj)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

    import java.lang.reflect.Field;
    
    /**
     * Signals that a field could not be made accessible.
     */
    public class BeanFieldSetAccessibleFailureException extends ClRuntimeException {
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target field.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top