Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 535 for dict (0.33 sec)

  1. docs/de/docs/advanced/templates.md

    ```
    
    ### Template-Kontextwerte
    
    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
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    {* ../../docs_src/events/tutorial001.py hl[8] *}
    
    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/security/oauth2-scopes.md

    ## OAuth2-Sicherheitsschema
    
    Die erste Änderung ist, dass wir jetzt das OAuth2-Sicherheitsschema mit zwei verfügbaren Scopes deklarieren: `me` und `items`.
    
    Der `scopes`-Parameter erhält ein `dict` mit jedem Scope als Schlüssel und dessen Beschreibung als Wert:
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[62:65] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/index.md

    * Einen optionalen Query-Parameter `skip`, der ein `int` ist und standardmäßig `0` ist.
    * Einen optionalen Query-Parameter `limit`, der ein `int` ist und standardmäßig `100` ist.
    
    Und dann wird einfach ein `dict` zurückgegeben, welches diese Werte enthält.
    
    /// info
    
    FastAPI unterstützt (und empfiehlt die Verwendung von) `Annotated` seit Version 0.95.0.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. docs/pl/docs/features.md

    Ale domyślnie wszystko **"po prostu działa"**.
    
    ### Walidacja
    
    * Walidacja większości (lub wszystkich?) **typów danych** Pythona, w tym:
        * Obiektów JSON (`dict`).
        * Tablic JSON (`list`) ze zdefiniowanym typem elementów.
        * Pól tekstowych (`str`) z określeniem minimalnej i maksymalnej długości.
        * Liczb (`int`, `float`) z wartościami minimalnymi, maksymalnymi, itp.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/settings.md

    En la versión 1 de Pydantic la configuración se hacía en una clase interna `Config`, en la versión 2 de Pydantic se hace en un atributo `model_config`. Este atributo toma un `dict`, y para obtener autocompletado y errores en línea, puedes importar y usar `SettingsConfigDict` para definir ese `dict`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/security/get-current-user.md

    ¿Quieres tener un `id` y `email` y no tener un `username` en tu modelo? Claro. Puedes usar estas mismas herramientas.
    
    ¿Quieres solo tener un `str`? ¿O solo un `dict`? ¿O un instance de clase modelo de base de datos directamente? Todo funciona de la misma manera.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/get-current-user.md

    Möchten Sie eine `id` und eine `email` und keinen `username` in Ihrem Modell haben? Kein Problem. Sie können dieselben Tools verwenden.
    
    Möchten Sie nur ein `str` haben? Oder nur ein `dict`? Oder direkt eine Instanz eines Modells einer Datenbank-Klasse? Es funktioniert alles auf die gleiche Weise.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/get-current-user.md

    Do you want to have an `id` and `email` and not have any `username` in your model? Sure. You can use these same tools.
    
    Do you want to just have a `str`? Or just a `dict`? Or a database class model instance directly? It all works the same way.
    
    You actually don't have users that log in to your application but robots, bots, or other systems, that have just an access token? Again, it all works the same.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. docs/ko/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 템플릿 컨텍스트 값
    
    다음과 같은 HTML에서:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...이는 전달한 "컨텍스트" `dict`에서 가져온 `id`를 표시합니다:
    
    ```Python
    {"id": id}
    ```
    
    예를 들어, ID가 `42`일 경우, 이는 다음과 같이 렌더링됩니다:
    
    ```html
    Item ID: 42
    ```
    
    ### 템플릿 `url_for` 인수
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:07:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top