- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 269 for Template (0.26 seconds)
-
docs/ko/docs/advanced/templates.md
``` </div> ## 사용하기 `Jinja2Templates` * `Jinja2Templates`를 가져옵니다. * 나중에 재사용할 수 있는 `templates` 객체를 생성합니다. * 템플릿을 반환할 경로 작업에 `Request` 매개변수를 선언합니다. * 생성한 `templates`를 사용하여 `TemplateResponse`를 렌더링하고 반환합니다. 템플릿의 이름, 요청 객체 및 Jinja2 템플릿 내에서 사용될 키-값 쌍이 포함된 "컨텍스트" 딕셔너리도 전달합니다. ```Python hl_lines="4 11 15-18" {!../../docs_src/templates/tutorial001.py!} ``` /// note | 참고Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 3.7K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
ASSERT_NE(*op, nullptr); } FunctionDef fdef() { tensorflow::FunctionDef fdef; EXPECT_TRUE(GetFunctionDef(func_, &fdef)); return fdef; } // logging utility template <class Container> string ToString(const Container& v) { std::stringstream ss; ss << "{"; size_t i = 0; for (const auto& e : v) { if (i != 0) { ss << ", "; }
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 63.6K bytes - Click Count (1) -
docs/en/docs/release-notes.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0) -
fastapi/applications.py
rich text representation. * `variables`: A `dict` between a variable name and its value. The value is used for substitution in the server's URL template. Read more in the [FastAPI docs for Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/#additional-servers). **Example**Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 176.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
branching. */}} CMP $12, NR BLT Lenc128 BEQ Lenc192 {{/* 2 extra rounds for 256-bit keys. */}} Lenc256: {{- template "load_keys" (load_keys_args 0 2) }} {{- template "enc" (enc_args 0 $N true) }} {{- template "enc" (enc_args 1 $N true) }} {{/* 2 extra rounds for 192-bit keys. */}} Lenc192: {{- template "load_keys" (load_keys_args 2 2) }} {{- template "enc" (enc_args 2 $N true) }} {{- template "enc" (enc_args 3 $N true) }} {{/* 10 rounds for 128-bit (with special handling for final). */}} Lenc128: {{-...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 26 03:07:35 GMT 2025 - 133.3K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
branching. */}} CMP $12, NR BLT Lenc128 BEQ Lenc192 {{/* 2 extra rounds for 256-bit keys. */}} Lenc256: {{- template "load_keys" (load_keys_args 0 2) }} {{- template "enc" (enc_args 0 $N true) }} {{- template "enc" (enc_args 1 $N true) }} {{/* 2 extra rounds for 192-bit keys. */}} Lenc192: {{- template "load_keys" (load_keys_args 2 2) }} {{- template "enc" (enc_args 2 $N true) }} {{- template "enc" (enc_args 3 $N true) }} {{/* 10 rounds for 128-bit (with special handling for final). */}} Lenc128: {{-...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
docs_src/templates/tutorial001_py39.py
app = FastAPI() app.mount("/static", StaticFiles(directory="static"), name="static") templates = Jinja2Templates(directory="templates") @app.get("/items/{id}", response_class=HTMLResponse) async def read_item(request: Request, id: str): return templates.TemplateResponse( request=request, name="item.html", context={"id": id}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 521 bytes - Click Count (0) -
docs/en/docs/reference/templating.md
# Templating - `Jinja2Templates` You can use the `Jinja2Templates` class to render Jinja templates. Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 365 bytes - Click Count (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
if os.path.isdir("./static"): # pragma: nocover shutil.rmtree("./static") if os.path.isdir("./templates"): # pragma: nocover shutil.rmtree("./templates") shutil.copytree("./docs_src/templates/templates/", "./templates") shutil.copytree("./docs_src/templates/static/", "./static") from docs_src.templates.tutorial001_py39 import app client = TestClient(app) response = client.get("/items/foo")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 915 bytes - Click Count (0)