Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,943 for parameter_ (0.07 seconds)

  1. docs/zh-hant/docs/tutorial/query-param-models.md

    # 查詢參數模型 { #query-parameter-models }
    
    如果你有一組具有相關性的**查詢參數**,你可以建立一個 **Pydantic 模型**來聲明它們。
    
    這將允許你在**多個地方**去**重複使用模型**,並且一次性為所有參數聲明驗證和元資料 (metadata)。😎
    
    /// note
    
    FastAPI 從 `0.115.0` 版本開始支援這個特性。🤓
    
    ///
    
    ## 使用 Pydantic 模型的查詢參數 { #query-parameters-with-a-pydantic-model }
    
    在一個 **Pydantic 模型**中聲明你需要的**查詢參數**,然後將參數聲明為 `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:32:56 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    It will have a *path operation* that will receive an `Invoice` body, and a query parameter `callback_url` that will contain the URL for the callback.
    
    This part is pretty normal, most of the code is probably already familiar to you:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *}
    
    /// tip
    
    The `callback_url` query parameter uses a Pydantic [Url](https://docs.pydantic.dev/latest/api/networks/) type.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/header-param-models.md

    Оголосіть потрібні **параметри заголовків** у **Pydantic моделі**, а потім оголосіть параметр як `Header`:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    **FastAPI** буде **витягувати** дані для **кожного поля** з **заголовків** у запиті та передавати їх у створену вами Pydantic модель.
    
    ## Перевірка в документації { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. fastapi/dependencies/utils.py

        globalns = getattr(unwrapped, "__globals__", {})
        typed_params = [
            inspect.Parameter(
                name=param.name,
                kind=param.kind,
                default=param.default,
                annotation=get_typed_annotation(param.annotation, globalns),
            )
            for param in signature.parameters.values()
        ]
        typed_signature = inspect.Signature(typed_params)
        return typed_signature
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  5. docs/uk/docs/tutorial/body-multiple-params.md

    # Тіло - Декілька параметрів { #body-multiple-parameters }
    
    Тепер, коли ми побачили, як використовувати `Path` і `Query`, розгляньмо більш просунуті варіанти оголошення тіла запиту.
    
    ## Змішування `Path`, `Query` та параметрів тіла { #mix-path-query-and-body-parameters }
    
    По-перше, звісно, ви можете вільно змішувати оголошення параметрів `Path`, `Query` та тіла запиту, і **FastAPI** знатиме, що робити.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. docs/de/docs/python-types.md

    * Die Variable `items_s` ist ein `set`, und jedes seiner Elemente ist vom Typ `bytes`.
    
    #### Dict { #dict }
    
    Um ein `dict` zu definieren, übergeben Sie zwei Typ-Parameter, getrennt durch Kommas.
    
    Der erste Typ-Parameter ist für die Schlüssel des `dict`.
    
    Der zweite Typ-Parameter ist für die Werte des `dict`:
    
    {* ../../docs_src/python_types/tutorial008_py310.py hl[1] *}
    
    Das bedeutet:
    
    * Die Variable `prices` ist ein `dict`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.6K bytes
    - Click Count (1)
  7. docs/de/docs/advanced/openapi-callbacks.md

    Sie verfügt über eine *Pfadoperation*, die einen `Invoice`-Body empfängt, und einen Query-Parameter `callback_url`, der die URL für den Callback enthält.
    
    Dieser Teil ist ziemlich normal, der größte Teil des Codes ist Ihnen wahrscheinlich bereits bekannt:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *}
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. internal/config/identity/openid/openid.go

    		getCfgVal := func(cfgParam string) string {
    			// As parameters are already validated, we skip checking
    			// if the config param was found.
    			val, _, _ := s.ResolveConfigParam(config.IdentityOpenIDSubSys, cfgName, cfgParam, false)
    			return val
    		}
    
    		// In the past, when only one openID provider was allowed, there
    		// was no `enable` parameter - the configuration is turned off
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/query-param-models.md

    Объявите нужные **query-параметры** в **Pydantic-модели**, а после аннотируйте параметр как `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI извлечёт** данные соответствующие **каждому полю модели** из **query-параметров** запроса и выдаст вам объявленную Pydantic-модель заполненную ими.
    
    ## Проверьте Сгенерированную Документацию { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## Importer `File` et `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## Définir des paramètres `File` et `Form` { #define-file-and-form-parameters }
    
    Créez des paramètres de fichier et de formulaire de la même manière que pour `Body` ou `Query` :
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top