- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 806 for templatize (0.18 sec)
-
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 ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 365 bytes - Viewed (0) -
src/html/template/template.go
ret.set[name] = &Template{ nil, x, x.Tree, ret.nameSpace, } } // Return the template associated with the name of this template. return ret.set[ret.Name()], nil } // New allocates a new HTML template with the given name. func New(name string) *Template { ns := &nameSpace{set: make(map[string]*Template)} ns.esc = makeEscaper(ns) tmpl := &Template{ nil, template.New(name),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/text/template/template.go
name: name, } t.init() return t } // Name returns the name of the template. func (t *Template) Name() string { return t.name } // New allocates a new, undefined template associated with the given one and with the same // delimiters. The association, which is transitive, allows one template to // invoke another with a {{template}} action. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
build(builder, result, out_ty, input, reduction_indices, keep_dims); } // TODO: Templatize this fold for all reduction ops. OpFoldResult SumOp::fold(FoldAdaptor) { auto input_ty = getInput().getType().template dyn_cast<RankedTensorType>(); if (!input_ty) return {}; auto result_ty = getType().template dyn_cast<RankedTensorType>(); if (!result_ty) return {};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/template.go
// PatherTemplateMatcher creates a URI template matcher for path. func PathTemplateMatcher(path string) *uri_template.UriTemplateMatchConfig { return &uri_template.UriTemplateMatchConfig{ PathTemplate: sanitizePathTemplate(path), } } // sanitizePathTemplate converts the path template into a valid envoy uri template.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/release/notes-template.md
## New features and usability improvements <!-- Do not add breaking changes or deprecations here! Add them to the upgrade guide instead. --> <!-- ================== TEMPLATE ============================== <a name="FILL-IN-KEY-AREA"></a> ### FILL-IN-KEY-AREA improvements <<<FILL IN CONTEXT FOR KEY AREA>>> Example:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 14:04:10 UTC 2024 - 3.6K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/injection-template.yaml
env: {{- range $key, $value := .ProxyConfig.ProxyMetadata }} - name: {{ $key }} value: "{{ $value }}" {{- end }} {{- end }} resources: {{ template "resources" . }} securityContext: allowPrivilegeEscalation: {{ .Values.global.proxy.privileged }} privileged: {{ .Values.global.proxy.privileged }} capabilities:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 21:01:52 UTC 2024 - 23.8K bytes - Viewed (0) -
manifests/charts/istiod-remote/files/injection-template.yaml
env: {{- range $key, $value := .ProxyConfig.ProxyMetadata }} - name: {{ $key }} value: "{{ $value }}" {{- end }} {{- end }} resources: {{ template "resources" . }} securityContext: allowPrivilegeEscalation: {{ .Values.global.proxy.privileged }} privileged: {{ .Values.global.proxy.privileged }} capabilities:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 21:01:52 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/custom-template.yaml.40.template.gen.yaml
# defaultTemplates defines the default template to use for pods that do not explicitly specify a template defaultTemplates: [sidecar] policy: enabled alwaysInjectSelector: [] neverInjectSelector: [] injectedAnnotations: template: "{{ Template_Version_And_Istio_Version_Mismatched_Check_Installation }}" templates: sidecar: | {{- define "resources" }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 76.7K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
!!! note "Technical Details" You could also use `from starlette.templating import Jinja2Templates`. **FastAPI** provides the same `starlette.templating` as `fastapi.templating` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request` and `StaticFiles`. ## Writing templates Then you can write a template at `templates/item.html` with, for example: ```jinja hl_lines="7"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 3.2K bytes - Viewed (0)