Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 593 for dice (0.02 seconds)

  1. fastapi/encoders.py

        SecretStr: str,
        set: list,
        UUID: str,
        Url: str,
        AnyUrl: str,
    }
    
    
    def generate_encoders_by_class_tuples(
        type_encoder_map: dict[Any, Callable[[Any], Any]],
    ) -> dict[Callable[[Any], Any], tuple[Any, ...]]:
        encoders_by_class_tuples: dict[Callable[[Any], Any], tuple[Any, ...]] = defaultdict(
            tuple
        )
        for type_, encoder in type_encoder_map.items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. docs/pt/docs/virtual-environments.md

    /// tip | Dica
    
    Normalmente, você faria isso **uma vez**, logo após criar o ambiente virtual.
    
    ///
    
    Certifique-se de que o ambiente virtual esteja ativo (com o comando acima) e execute:
    
    <div class="termy">
    
    ```console
    $ python -m pip install --upgrade pip
    
    ---> 100%
    ```
    
    </div>
    
    /// tip | Dica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 23.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    * `Body()`
    * `Form()`
    * `File()`
    
    The keys of the `dict` identify each example, and each value is another `dict`.
    
    Each specific example `dict` in the `examples` can contain:
    
    * `summary`: Short description for the example.
    * `description`: A long description that can contain Markdown text.
    * `value`: This is the actual example shown, e.g. a `dict`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Obwohl wir nicht die standardmäßig integrierte Funktionalität verwenden, verwenden wir dennoch ein Pydantic-Modell, um das JSON-Schema für die Daten, die wir in YAML empfangen möchten, manuell zu generieren.
    
    Dann verwenden wir den Request direkt und extrahieren den Body als `bytes`. Das bedeutet, dass FastAPI nicht einmal versucht, die Request-Payload als JSON zu parsen.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. tests/test_invalid_sequence_param.py

            @app.get("/items/")
            def read_items(q: dict[str, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_dict():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: Optional[dict] = Query(default=None)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-updates.md

    Like `item.model_dump(exclude_unset=True)`.
    
    That would generate a `dict` with only the data that was set when creating the `item` model, excluding default values.
    
    Then you can use this to generate a `dict` with only the data that was set (sent in the request), omitting default values:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    Прежде чем углубиться в систему **Внедрения Зависимостей**, давайте обновим предыдущий пример.
    
    ## `dict` из предыдущего примера { #a-dict-from-the-previous-example }
    
    В предыдущем примере мы возвращали `dict` из нашей зависимости:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. docs/tr/docs/python-types.md

    #### `Dict`
    
    Bir `dict` tanımlamak için virgülle ayrılmış iki parametre verebilirsiniz.
    
    İlk tip parametresi `dict` değerinin `key` değeri içindir.
    
    İkinci parametre ise `dict` değerinin `value` değeri içindir:
    
    {* ../../docs_src/python_types/tutorial008.py hl[1,4] *}
    
    
    Bu şu anlama gelir:
    
    *  `prices` değişkeni `dict` tipindedir:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  9. docs/de/docs/how-to/conditional-openapi.md

    ## Bedingte OpenAPI aus Einstellungen und Umgebungsvariablen { #conditional-openapi-from-settings-and-env-vars }
    
    Sie können problemlos dieselben Pydantic-Einstellungen verwenden, um Ihre generierte OpenAPI und die Dokumentationsoberflächen zu konfigurieren.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/query-params.md

    # Query-Parameter { #query-parameters }
    
    Wenn Sie in Ihrer Funktion andere Parameter deklarieren, die nicht Teil der Pfad-Parameter sind, dann werden diese automatisch als „Query“-Parameter interpretiert.
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    Die <abbr title="Abfrage">Query</abbr> ist die Menge von Schlüssel-Wert-Paaren, die nach dem `?` in einer URL folgen und durch `&`-Zeichen getrennt sind.
    
    Zum Beispiel sind in der URL:
    
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top