Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 338 for Extra (0.02 sec)

  1. docs/uk/docs/tutorial/request-form-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Підсумок
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Feb 20 14:16:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/header-param-models.md

    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/header-param-models.md

    </div>
    
    ## Prohibir Headers Extra
    
    En algunos casos de uso especiales (probablemente no muy comunes), podrías querer **restringir** los headers que deseas recibir.
    
    Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Si un cliente intenta enviar algunos **headers extra**, recibirán un response de **error**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Add extra information { #add-extra-information }
    
    You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema.
    
    You will learn more about adding extra information later in the docs, when learning to declare examples.
    
    /// warning
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/query-param-models.md

    Puedes usar la configuración del modelo de Pydantic para `forbid` cualquier campo `extra`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Si un cliente intenta enviar algunos datos **extra** en los **parámetros query**, recibirán un response de **error**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/cookie-param-models.md

    Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`:
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py39.py hl[10] *}
    
    Si un cliente intenta enviar algunas **cookies extra**, recibirán un response de **error**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/header-param-models.md

    Você pode usar a configuração dos modelos do Pydantic para proibir (`forbid`) quaisquer campos `extra`:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Se um cliente tentar enviar alguns **cabeçalhos extra**, eles irão receber uma resposta de **erro**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/request-form-models.md

    이 기능은 FastAPI 버전 `0.114.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    클라이언트가 추가 데이터를 보내려고 하면 **오류** 응답을 받게 됩니다.
    
    예를 들어, 클라이언트가 폼 필드를 보내려고 하면:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    `extra` 필드가 허용되지 않는다는 오류 응답을 받게 됩니다:
    
    ```json
    {
        "detail": [
            {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:44:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    		ev, ok := s2.MinioEnv[k]
    		if !ok {
    			missing = append(missing, k)
    		} else if v != ev {
    			mismatching = append(mismatching, k)
    		}
    	}
    	var extra []string
    	for k := range s2.MinioEnv {
    		_, ok := s1.MinioEnv[k]
    		if !ok {
    			extra = append(extra, k)
    		}
    	}
    	msg := "Expected MINIO_* environment name and values across all servers to be same: "
    	if len(missing) > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top