Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,287 for FieldA (0.18 sec)

  1. docs/zh/docs/tutorial/schema-extra-example.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="15-23"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    这些额外的信息将按原样添加到输出的JSON模式中。
    
    ## `Field` 的附加参数
    
    在 `Field`, `Path`, `Query`, `Body` 和其他你之后将会看到的工厂函数,你可以为JSON 模式声明额外信息,你也可以通过给工厂函数传递其他的任意参数来给JSON 模式声明额外信息,比如增加 `example`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2  8-11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_an.py

    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    from typing_extensions import Annotated
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_gen.go

    func (z *xlMetaDataDirDecoder) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
      // is populated only for the CSIMigration feature. It contains
      // translated fields from a pod's inline VolumeSource to a
      // PersistentVolumeSpec. This field is alpha-level and is only
      // honored by servers that enabled the CSIMigration feature.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1/generated.proto

      // This field is set via the /status subresource. Once populated, this field is immutable.
      //
      // If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty.
      // If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
      //
      // Validation requirements:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs_src/sql_databases/tutorial001_py39.py

    from typing import Union
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final Object fieldsObj = existingSource.get(FieldNames.FIELDS);
            if (fieldsObj instanceof List) {
                @SuppressWarnings("unchecked")
                final List<String> existingValues = (List<String>) fieldsObj;
                concatValues(existingValues, fields);
                map.put(FieldNames.FIELDS, existingValues);
            } else {
                map.put(FieldNames.FIELDS, fields);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            } else {
                queryBuilder.must(QueryBuilders.termQuery(FieldNames.ROLES, SuggestConstants.DEFAULT_ROLE));
            }
            if (!fields.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.FIELDS, fields));
            }
            if (!languages.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.LANGUAGES, languages));
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    // 	     runtime.TypeMeta    `json:",inline"`
    // 	     ... // other fields
    // 	}
    //
    // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind
    //
    // TypeMeta is provided here for convenience. You may use it directly from this package or define
    // your own with the same fields.
    //
    // +k8s:deepcopy-gen=false
    // +protobuf=true
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an.py

                {
                    "type": "value_error.missing",
                    "loc": ["body", "username"],
                    "msg": "field required",
                },
                {
                    "type": "value_error.missing",
                    "loc": ["body", "password"],
                    "msg": "field required",
                },
            ]
        }
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top