Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 469 for dict (0.02 seconds)

  1. docs/es/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[82:85] *}
    
    #### Sobre `**user_dict` { #about-user-dict }
    
    `UserInDB(**user_dict)` significa:
    
    *Pasa las claves y valores de `user_dict` directamente como argumentos clave-valor, equivalente a:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    ## OAuth2 Security scheme { #oauth2-security-scheme }
    
    The first change is that now we are declaring the OAuth2 security scheme with two available scopes, `me` and `items`.
    
    The `scopes` parameter receives a `dict` with each scope as a key and the description as the value:
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}
    
    Because we are now declaring those scopes, they will show up in the API docs when you log-in/authorize.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/dependencies/index.md

    이 경우, 이 의존성은 다음과 같은 경우를 기대합니다:
    
    * 선택적인 쿼리 매개변수 `q`, `str`을 자료형으로 가집니다.
    * 선택적인 쿼리 매개변수 `skip`, `int`를 자료형으로 가지며 기본 값은 `0`입니다.
    * 선택적인 쿼리 매개변수 `limit`,`int`를 자료형으로 가지며 기본 값은 `100`입니다.
    
    그 후 위의 값을 포함한 `dict` 자료형으로 반환할 뿐입니다.
    
    /// info | 정보
    
    FastAPI는 0.95.0 버전부터 `Annotated`에 대한 지원을 (그리고 이를 사용하기 권장합니다) 추가했습니다.
    
    옛날 버전을 가지고 있는 경우, `Annotated`를 사용하려 하면 에러를 맞이하게 될 것입니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.1K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/features.md

    FastAPI 為你提供了**預設值**,讓你不必在初期進行繁瑣的配置,一切都可以自動運作。如果你有更具體的需求,則可以進行調整和自定義,
    
    但在大多數情況下,你只需要直接使用預設值,就能順利完成 API 開發。
    
    ### 驗證
    
    所有的驗證都由完善且強大的 **Pydantic** 處理。
    
    * 驗證大部分(甚至所有?)的 Python **資料型別**,包括:
        * JSON 物件 (`dict`)。
        * JSON 陣列 (`list`) 定義項目型別。
        * 字串 (`str`) 欄位,定義最小或最大長度。
        * 數字 (`int`, `float`) 與其最大值和最小值等。
    
    * 驗證外來的型別,比如:
        * URL
        * Email
        * UUID
    
    
    ### 安全性及身份驗證
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. docs/pt/docs/features.md

    Por padrão, tudo **"simplesmente funciona"**.
    
    ### Validação { #validation }
    
    * Validação para a maioria dos (ou todos?) **tipos de dados** do Python, incluindo:
        * objetos JSON (`dict`).
        * arrays JSON (`list`), definindo tipos dos itens.
        * campos String (`str`), definindo tamanho mínimo e máximo.
        * Numbers (`int`, `float`) com valores mínimos e máximos, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  6. docs/de/llm-prompt.md

    * «the default value»: «der Defaultwert»
    * «the default value»: NOT «der Standardwert»
    * «the default declaration»: «die Default-Deklaration»
    * «the deployment»: «das Deployment»
    * «the dict»: «das Dict»
    * «the dictionary»: «das Dictionary»
    * «the enumeration»: «die Enumeration»
    * «the enum»: «das Enum»
    * «the engine»: «die Engine»
    * «the error response»: «die Error-Response»
    * «the event»: «das Event»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/response-model.md

    * OpenAPI *경로 작동*의 응답에 JSON 스키마 추가.
    * 자동 생성 문서 시스템에 사용.
    
    하지만 가장 중요한 것은:
    
    * 해당 모델의 출력 데이터 제한. 이것이 얼마나 중요한지 아래에서 볼 것입니다.
    
    /// note | 기술 세부사항
    
    응답 모델은 함수의 타입 어노테이션 대신 이 매개변수로 선언하는데, 경로 함수가 실제 응답 모델을 반환하지 않고 `dict`, 데이터베이스 객체나 기타 다른 모델을 `response_model`을 사용하여 필드 제한과 직렬화를 수행하고 반환할 수 있기 때문입니다
    
    ///
    
    ## 동일한 입력 데이터 반환
    
    여기서 우리는 평문 비밀번호를 포함하는 `UserIn` 모델을 선언합니다:
    
    {* ../../docs_src/response_model/tutorial002.py hl[9,11] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/templates.md

    ### Template Context Values { #template-context-values }
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...it will show the `id` taken from the "context" `dict` you passed:
    
    ```Python
    {"id": id}
    ```
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Item ID: 42
    ```
    
    ### Template `url_for` Arguments { #template-url-for-arguments }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. docs_src/security/tutorial005_py39.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/templates.md

    ### Template-Kontextwerte { #template-context-values }
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ... wird die `id` angezeigt, welche dem „Kontext“-`dict` entnommen wird, welches Sie übergeben haben:
    
    ```Python
    {"id": id}
    ```
    
    Mit beispielsweise einer ID `42` würde das wie folgt gerendert werden:
    
    ```html
    Item ID: 42
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top