Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 165 for embeds (0.05 sec)

  1. .github/dco.yml

    # Disable sign-off checking for members of the Gradle GitHub organization
    require:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Aug 11 00:03:28 UTC 2018
    - 100 bytes
    - Viewed (0)
  2. fastapi/params.py

            deprecated: Union[deprecated, str, bool, None] = None,
            include_in_schema: bool = True,
            json_schema_extra: Union[Dict[str, Any], None] = None,
            **extra: Any,
        ):
            self.embed = embed
            self.media_type = media_type
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. .github/SECURITY.md

    Instructions for reporting a vulnerability can be found on the
    [Istio Security Vulnerabilities] page. The Istio Product Security Working Group receives
    vulnerability and security issue reports, and the company affiliation of the members of
    the group can be found at [Early Disclosure Membership].
    
    ## Security Bulletins
    
    Information about previous Istio vulnerabilities can be found on the
    [Security Bulletins] page.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 12 15:17:53 UTC 2023
    - 905 bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/body-multiple-params.md

    기본적으로 **FastAPI**는 직접 본문으로 예측할 것입니다.
    
    하지만, 만약 모델 내용에 `item `키를 가진 JSON으로 예측하길 원한다면, 추가적인 본문 매개변수를 선언한 것처럼 `Body`의 특별한 매개변수인 `embed`를 사용할 수 있습니다:
    
    ```Python hl_lines="17"
    {!../../docs_src/body_multiple_params/tutorial005.py!}
    ```
    
    아래 처럼:
    
    ```Python
    item: Item = Body(..., embed=True)
    ```
    
    이 경우에 **FastAPI**는 본문을 아래 대신에:
    
    ```JSON hl_lines="2"
    {
        "name": "Foo",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs/en/docs/reference/websockets.md

    ///
    
    ::: fastapi.WebSocket
        options:
            members:
                - scope
                - app
                - url
                - base_url
                - headers
                - query_params
                - path_params
                - cookies
                - client
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-multiple-params.md

    Но если вы хотите чтобы он ожидал JSON с ключом `item` с содержимым модели внутри, также как это происходит при объявлении дополнительных body-параметров, вы можете использовать специальный параметр `embed` у типа `Body`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    так же, как в этом примере:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="17"
    {!> ../../docs_src/body_multiple_params/tutorial005_an_py310.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    type GroupInfo struct {
    	Version   int       `json:"version"`
    	Status    string    `json:"status"`
    	Members   []string  `json:"members"`
    	UpdatedAt time.Time `json:"updatedAt,omitempty"`
    }
    
    func newGroupInfo(members []string) GroupInfo {
    	return GroupInfo{Version: 1, Status: statusEnabled, Members: members, UpdatedAt: UTCNow()}
    }
    
    // MappedPolicy represents a policy name mapped to a user or group
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params.md

    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip
    
    You could also access the value `"lenet"` with `ModelName.lenet.value`.
    
    ///
    
    #### Return *enumeration members*
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    They will be converted to their corresponding values (strings in this case) before returning them to the client:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/path-params.md

    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | Consejo
    
    También podrías obtener el valor `"lenet"` con `ModelName.lenet.value`.
    
    ///
    
    #### Devuelve *enumeration members*
    
    Puedes devolver *enum members* desde tu *operación de path* inclusive en un body de JSON anidado (por ejemplo, un `dict`).
    
    Ellos serán convertidos a sus valores correspondientes (strings en este caso) antes de devolverlos al cliente:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/en/docs/reference/apirouter.md

    You can import the `APIRouter` class directly from `fastapi`:
    
    ```python
    from fastapi import APIRouter
    ```
    
    ::: fastapi.APIRouter
        options:
            members:
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 524 bytes
    - Viewed (0)
Back to top