Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 280 for Field (0.22 sec)

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

    ## Importe `Field`
    
    Primeiro, você tem que importá-lo:
    
    ```Python hl_lines="4"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    !!! warning "Aviso"
        Note que `Field` é importado diretamente do `pydantic`, não do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 02 15:00:11 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

    !!! tip
        Notice how each model's attribute with a type, default value and `Field` has the same structure as a *path operation function's* parameter, with `Field` instead of `Path`, `Query` and `Body`.
    
    ## Add extra information
    
    You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-fields.md

    !!! tip "提示"
    
        注意,模型属性的类型、默认值及 `Field` 的代码结构与*路径操作函数*的参数相同,只不过是用 `Field` 替换了`Path`、`Query`、`Body`。
    
    ## 添加更多信息
    
    `Field`、`Query`、`Body` 等对象里可以声明更多信息,并且 JSON Schema 中也会集成这些信息。
    
    *声明示例*一章中将详细介绍添加更多信息的知识。
    
    ## 小结
    
    Pydantic 的 `Field` 可以为模型属性声明更多校验和元数据。
    
    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)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

      // Other drivers can leave pod info disabled and/or ignore this field.
      // As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when
      // deployed on such a cluster and the deployment determines which mode that is, for example
      // via a command line parameter of the driver.
      //
      // This field is immutable.
      //
      // +optional
      optional bool podInfoOnMount = 2;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // service; otherwise creation of the service will fail. This field may not
      // be changed through updates unless the type field is also being changed
      // to ExternalName (which requires this field to be blank) or the type
      // field is being changed from ExternalName (in which case this field may
      // optionally be specified, as describe above).  Valid values are "None",
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public static final field TLS_KRB5_WITH_RC4_128_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_3DES_EDE_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_AES_128_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_AES_256_CBC_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_PSK_WITH_RC4_128_SHA Lokhttp3/CipherSuite;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1/generated.proto

    // Endpoint represents a single logical "backend" implementing a service.
    message Endpoint {
      // addresses of this endpoint. The contents of this field are interpreted
      // according to the corresponding EndpointSlice addressType field. Consumers
      // must handle different types of addresses in the context of their own
      // capabilities. This must contain at least one address but no more than
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/api/mockwebserver.api

    	public static final field DISCONNECT_DURING_RESPONSE_BODY Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DO_NOT_READ_REQUEST_BODY Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field EXPECT_CONTINUE Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field FAIL_HANDSHAKE Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field KEEP_OPEN Lokhttp3/mockwebserver/SocketPolicy;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body-fields.md

    ## `Field`のインポート
    
    まず、以下のようにインポートします:
    
    ```Python hl_lines="4"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    !!! warning "注意"
        `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ## モデルの属性の宣言
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    ```Python hl_lines="11 12 13 14"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 15:33:28 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/body-fields.md

    !!! tip "팁"
        주목할 점은 타입, 기본 값 및 `Field`로 이루어진 각 모델 어트리뷰트가  `Path`, `Query`와 `Body`대신 `Field`를 사용하는 *경로 작동 함수*의 매개변수와 같은 구조를 가진다는 점 입니다.
    
    ## 별도 정보 추가
    
    `Field`, `Query`, `Body`, 그 외 안에 별도 정보를 선언할 수 있습니다. 이는 생성된 JSON 스키마에 포함됩니다.
    
    여러분이 예제를 선언할 때 나중에 이 공식 문서에서 별도 정보를 추가하는 방법을 배울 것입니다.
    
    !!! warning "경고"
        별도 키가 전달된 `Field` 또한 여러분의 어플리케이션의 OpenAPI 스키마에 나타날 것입니다.
    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)
Back to top