- Sort Score
- Result 10 results
- Languages All
Results 4151 - 4160 of 7,602 for _class (0.04 sec)
-
docs/de/docs/advanced/templates.md
Es gibt Werkzeuge zur einfachen Konfiguration, die Sie direkt in Ihrer **FastAPI**-Anwendung verwenden können (bereitgestellt von Starlette). ## Abhängigkeiten installieren Installieren Sie `jinja2`: <div class="termy"> ```console $ pip install jinja2 ---> 100% ``` </div> ## Verwendung von `Jinja2Templates` * Importieren Sie `Jinja2Templates`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms.md
# Formulardaten Wenn Sie Felder aus Formularen statt JSON empfangen müssen, können Sie `Form` verwenden. /// info Um Formulare zu verwenden, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>. Z. B. `pip install python-multipart`. /// ## `Form` importieren Importieren Sie `Form` von `fastapi`: //// tab | Python 3.9+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java
import org.apache.maven.toolchain.DefaultToolchainManagerPrivate; import org.apache.maven.toolchain.MisconfiguredToolchainException; import org.apache.maven.toolchain.ToolchainPrivate; @Named @Singleton public class DefaultToolchainManager implements ToolchainManager { private final DefaultToolchainManagerPrivate toolchainManagerPrivate; @Inject
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/pt/docs/advanced/templates.md
Existem utilitários para configurá-lo facilmente que você pode usar diretamente em sua aplicação **FastAPI** (fornecidos pelo Starlette). ## Instalação de dependências Para instalar o `jinja2`, siga o código abaixo: <div class="termy"> ```console $ pip install jinja2 ``` </div> ## Usando `Jinja2Templates` * Importe `Jinja2Templates`. * Crie um `templates` que você possa reutilizar posteriormente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
public class EnumsBenchmark { @Param({"Small", "Medium", "Large"}) String enumSize; @Param({"0.2", "0.8"}) float hitRate; // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...). // However, we end up needing a raw type in getIfPresent, as discussed there. @SuppressWarnings("rawtypes") private Class<? extends Enum> enumType;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 29.4K bytes - Viewed (0) -
docs/en/docs/reference/staticfiles.md
# Static Files - `StaticFiles` You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc. Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/). You can import it directly from `fastapi.staticfiles`: ```python from fastapi.staticfiles import StaticFiles ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 391 bytes - Viewed (0) -
docs/tr/docs/advanced/testing-websockets.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 472 bytes - Viewed (0) -
docs_src/body/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, q: str | None = None): result = {"item_id": item_id, **item.dict()} if q: result.update({"q": q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 14:28:58 UTC 2024 - 408 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005_an_py310.py
from typing import Annotated from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 409 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial002.py
from typing import List, Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: List[str] = [] @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 413 bytes - Viewed (0)