- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Weights (0.04 sec)
-
tests/test_tutorial/test_extra_models/test_tutorial005.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial009.py
def test_post_body(client: TestClient): data = {"2": 2.2, "3": 3.3} response = client.post("/index-weights/", json=data) assert response.status_code == 200, response.text assert response.json() == data def test_post_invalid_body(client: TestClient): data = {"foo": 2.2, "3": 3.3} response = client.post("/index-weights/", json=data) assert response.status_code == 422, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
Das bedeutet, dass Ihre API-Clients nur Strings senden können, aber solange diese Strings nur Zahlen enthalten, wird Pydantic sie konvertieren und validieren. Und das `dict`, welches Sie als `weights` erhalten, wird `int`-Schlüssel und `float`-Werte haben. /// ## Zusammenfassung { #recap }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/es/docs/tutorial/body-nested-models.md
Esto significa que, aunque tus clientes de API solo pueden enviar strings como claves, mientras esos strings contengan enteros puros, Pydantic los convertirá y validará. Y el `dict` que recibas como `weights` tendrá realmente claves `int` y valores `float`. /// ## Resumen { #recap } Con **FastAPI** tienes la máxima flexibilidad proporcionada por los modelos Pydantic, manteniendo tu código simple, corto y elegante.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
Isso significa que, embora os clientes da API só possam enviar strings como chaves, desde que essas strings contenham inteiros puros, o Pydantic irá convertê-los e validá-los. E o `dict` que você recebe como `weights` terá, na verdade, chaves `int` e valores` float`. /// ## Recapitulação { #recap }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
This means that, even though your API clients can only send strings as keys, as long as those strings contain pure integers, Pydantic will convert them and validate them. And the `dict` you receive as `weights` will actually have `int` keys and `float` values. /// ## Recap { #recap } With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
А `dict`, который вы получите как `weights`, действительно будет иметь ключи типа `int` и значения типа `float`. /// ## Резюме { #recap }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
final int width = reader.getWidth(0); final int height = reader.getHeight(0); if (width <= 0 || height <= 0) { return Result.NO_IMAGE; } if (!fessConfig.validateThumbnailSize(width, height)) { return Result.INVALID_SIZE; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
successor(this, right, succ()); height = max(2, height); distinctElements++; totalCount += count; return this; } @CanIgnoreReturnValue private AvlNode<E> addLeftChild(@ParametricNullness E e, int count) { left = new AvlNode<>(e, count); successor(pred(), left, this); height = max(2, height); distinctElements++; totalCount += count;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 34.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
successor(this, right, succ()); height = max(2, height); distinctElements++; totalCount += count; return this; } @CanIgnoreReturnValue private AvlNode<E> addLeftChild(@ParametricNullness E e, int count) { left = new AvlNode<>(e, count); successor(pred(), left, this); height = max(2, height); distinctElements++; totalCount += count;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 33.9K bytes - Viewed (0)