Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 452 for Extra (0.01 sec)

  1. docs/de/docs/tutorial/header-param-models.md

    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Zusätzliche Header verbieten { #forbid-extra-headers }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die **Header einschränken**, die Sie erhalten möchten.
    
    Sie können Pydantics Modellkonfiguration verwenden, um `extra` Felder zu verbieten (`forbid`):
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/query-param-models.md

    </div>
    
    ## Restrinja Parâmetros de Consulta Extras { #forbid-extra-query-parameters }
    
    Em alguns casos especiais (provavelmente não muito comuns), você queira **restrinjir** os parâmetros de consulta que deseja receber.
    
    Você pode usar a configuração do modelo Pydantic para `forbid` (proibir) qualquer campo `extra`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    ## Singular values in body { #singular-values-in-body }
    
    The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
    
    For example, extending the previous model, you could decide that you want to have another key `importance` in the same body, besides the `item` and `user`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/cookie-param-models.md

    But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values.
    
    ///
    
    ## Forbid Extra Cookies { #forbid-extra-cookies }
    
    In some special use cases (probably not very common), you might want to **restrict** the cookies that you want to receive.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. docs/en/mkdocs.yml

        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
        - tutorial/cookie-params.md
        - tutorial/header-params.md
        - tutorial/cookie-param-models.md
        - tutorial/header-param-models.md
        - tutorial/response-model.md
        - tutorial/extra-models.md
        - tutorial/response-status-code.md
        - tutorial/request-forms.md
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:44:55 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-param-models.md

    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## 禁止额外的查询参数
    
    在一些特殊的使用场景中(可能不是很常见),你可能希望**限制**你要接收的查询参数。
    
    你可以使用 Pydantic 的模型配置来 `forbid`(意为禁止 —— 译者注)任何 `extra`(意为额外的 —— 译者注)字段:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    假设有一个客户端尝试在**查询参数**中发送一些**额外的**数据,它将会收到一个**错误**响应。
    
    例如,如果客户端尝试发送一个值为 `plumbus` 的 `tool` 查询参数,如:
    
    ```http
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Nov 26 22:06:31 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/header-params.md

    ## Declare `Header` parameters { #declare-header-parameters }
    
    Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`.
    
    You can define the default value as well as all the extra validation or annotation parameters:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Technical Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-fields.md

    ///
    
    ## Adicione informações extras { #add-extra-information }
    
    Você pode declarar informação extra em `Field`, `Query`, `Body`, etc. E isso será incluído no JSON Schema gerado.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. cmd/untar.go

    		case err == io.EOF:
    			wg.Wait()
    			return asyncErr
    
    		// return any other error
    		case err != nil:
    			wg.Wait()
    			extra := ""
    			if n > 0 {
    				extra = fmt.Sprintf(" after %d successful object(s)", n)
    			}
    			return fmt.Errorf("tar file error: %w%s", err, extra)
    
    		// if the header is nil, just skip it (not sure how this happens)
    		case header == nil:
    			continue
    		}
    
    		name := header.Name
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
Back to top