Home
last modified time | relevance | path

Searched refs:jinja_env (Results 1 – 25 of 120) sorted by relevance

12345

/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/
H A Dtest_objects.py19 obj = dotnet.DotNetNamespace({"id": "Foo.Bar"}, jinja_env=None, app=None)
24 obj = dotnet.DotNetMethod({"id": "Foo.Bar"}, jinja_env=None, app=None)
29 obj = dotnet.DotNetProperty({"id": "Foo.Bar"}, jinja_env=None, app=None)
34 obj = dotnet.DotNetEnum({"id": "Foo.Bar"}, jinja_env=None, app=None)
39 obj = dotnet.DotNetStruct({"id": "Foo.Bar"}, jinja_env=None, app=None)
81 {"id": "Foo.Bar.Something`1"}, jinja_env=None, app=None
99 jinja_env=None,
104 dict(id="Foo.Bar", type="class"), jinja_env=None, app=None
117 {"id": "Foo.Bar.Widget<T>(TFoo)"}, jinja_env=None, app=None
131 jinja_env = Environment(loader=FileSystemLoader([TEMPLATE_DIR]))
[all …]
/dports/www/py-flask/Flask-2.0.2/tests/
H A Dtest_templating.py214 assert app.jinja_env.tests["boolean"](False)
224 assert app.jinja_env.tests["boolean"](False)
234 assert app.jinja_env.tests["boolean"](False)
356 assert app.jinja_env.auto_reload is False
361 assert app.jinja_env.auto_reload is False
366 assert app.jinja_env.auto_reload is True
371 assert app.jinja_env.auto_reload is True
376 assert app.jinja_env.auto_reload is False
381 assert app.jinja_env.auto_reload is True
392 assert not app.jinja_env.auto_reload
[all …]
H A Dtest_blueprints.py250 templates = sorted(app.jinja_env.list_templates())
391 assert "strrev" in app.jinja_env.filters.keys()
404 assert "strrev" in app.jinja_env.filters.keys()
501 assert "is_boolean" in app.jinja_env.tests.keys()
503 assert app.jinja_env.tests["is_boolean"](False)
514 assert "is_boolean" in app.jinja_env.tests.keys()
516 assert app.jinja_env.tests["is_boolean"](False)
527 assert "boolean" in app.jinja_env.tests.keys()
529 assert app.jinja_env.tests["boolean"](False)
540 assert "boolean" in app.jinja_env.tests.keys()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/mojo/public/tools/mojom/mojom/generate/
H A Dtemplate_expander.py23 jinja_env = jinja2.Environment(
25 jinja_env.globals.update(mojo_generator.GetGlobals())
26 jinja_env.filters.update(mojo_generator.GetFilters())
27 template = jinja_env.get_template(path_to_template)
49 jinja_env = jinja2.Environment(
51 jinja_env.globals.update(mojo_generator.GetGlobals())
52 jinja_env.filters.update(mojo_generator.GetFilters())
53 template = jinja_env.get_template(filename)
72 jinja_env = jinja2.Environment(
77 jinja_env.filters.update(generator.GetFilters())
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/tools/mojom/mojom/generate/
H A Dtemplate_expander.py23 jinja_env = jinja2.Environment(
25 jinja_env.globals.update(mojo_generator.GetGlobals())
26 jinja_env.filters.update(mojo_generator.GetFilters())
27 template = jinja_env.get_template(path_to_template)
49 jinja_env = jinja2.Environment(
51 jinja_env.globals.update(mojo_generator.GetGlobals())
52 jinja_env.filters.update(mojo_generator.GetFilters())
53 template = jinja_env.get_template(filename)
72 jinja_env = jinja2.Environment(
77 jinja_env.filters.update(generator.GetFilters())
[all …]
/dports/www/py-webassets/webassets-2.0/tests/test_ext/
H A Dtest_jinja2.py45 self.jinja_env = JinjaEnvironment()
46 self.jinja_env.add_extension(AssetsExtension)
47 self.jinja_env.assets_environment = assets_env
54 return self.jinja_env.from_string(
59 return self.jinja_env.from_string(
104 content = self.jinja_env.from_string(
110 output = self.jinja_env.from_string(
130 self.jinja_env = JinjaEnvironment()
131 self.jinja_env.add_extension(AssetsExtension)
132 self.jinja_env.assets_environment = self.env
[all …]
/dports/www/py-flask-mongoengine/flask-mongoengine-1.0.0/flask_mongoengine/
H A Dpanels.py10 def _maybe_patch_jinja_loader(jinja_env): argument
14 if not isinstance(jinja_env.loader, ChoiceLoader):
15 jinja_env.loader = ChoiceLoader([jinja_env.loader, package_loader])
16 elif package_loader not in jinja_env.loader.loaders:
17 jinja_env.loader.loaders.append(package_loader)
31 _maybe_patch_jinja_loader(self.jinja_env)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/headless/lib/browser/devtools_api/
H A Dclient_api_generator.py85 jinja_env = jinja2.Environment(
93 jinja_env.filters.update({
99 jinja_env.add_extension('jinja2.ext.loopcontrols')
100 return jinja_env
479 template = jinja_env.get_template('/%s_%s.template' % (
494 def GenerateDomains(jinja_env, output_dirname, json_api): argument
501 def GenerateTypes(jinja_env, output_dirname, json_api): argument
524 jinja_env = InitializeJinjaEnv(output_dirname) variable
532 GenerateDomains(jinja_env, output_dirname, json_api)
533 GenerateTypes(jinja_env, output_dirname, json_api)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/headless/lib/browser/devtools_api/
H A Dclient_api_generator.py85 jinja_env = jinja2.Environment(
93 jinja_env.filters.update({
99 jinja_env.add_extension('jinja2.ext.loopcontrols')
100 return jinja_env
479 template = jinja_env.get_template('/%s_%s.template' % (
494 def GenerateDomains(jinja_env, output_dirname, json_api): argument
501 def GenerateTypes(jinja_env, output_dirname, json_api): argument
524 jinja_env = InitializeJinjaEnv(output_dirname) variable
532 GenerateDomains(jinja_env, output_dirname, json_api)
533 GenerateTypes(jinja_env, output_dirname, json_api)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/autofill_assistant/browser/devtools/devtools_api/
H A Dclient_api_generator.py105 jinja_env = jinja2.Environment(
113 jinja_env.filters.update({
119 jinja_env.add_extension('jinja2.ext.loopcontrols')
120 return jinja_env
513 template = jinja_env.get_template('/%s_%s.template' % (
529 def GenerateDomains(jinja_env, output_dirname, json_api): argument
535 def GenerateTypes(jinja_env, output_dirname, json_api): argument
558 jinja_env = InitializeJinjaEnv(output_dirname) variable
566 GenerateDomains(jinja_env, output_dirname, json_api)
567 GenerateTypes(jinja_env, output_dirname, json_api)
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/autofill_assistant/browser/devtools/devtools_api/
H A Dclient_api_generator.py105 jinja_env = jinja2.Environment(
113 jinja_env.filters.update({
119 jinja_env.add_extension('jinja2.ext.loopcontrols')
120 return jinja_env
513 template = jinja_env.get_template('/%s_%s.template' % (
529 def GenerateDomains(jinja_env, output_dirname, json_api): argument
535 def GenerateTypes(jinja_env, output_dirname, json_api): argument
558 jinja_env = InitializeJinjaEnv(output_dirname) variable
566 GenerateDomains(jinja_env, output_dirname, json_api)
567 GenerateTypes(jinja_env, output_dirname, json_api)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/bindings/scripts/
H A Dcode_generator.py101 jinja_env = jinja2.Environment(
109 jinja_env.filters.update({
127 jinja_env.filters.update(constant_filters())
128 jinja_env.filters.update(method_filters())
129 jinja_env.filters["stringifykeygroupby"] = do_stringify_key_group_by
130 return jinja_env
165 self.jinja_env = initialize_jinja_env(cache_dir)
235 jinja_env = initialize_jinja_env(cache_dir)
242 jinja_env.get_template(template_filename)
H A Dcode_generator_v8.py238 header_template = self.jinja_env.get_template(header_template_filename)
239 cpp_template = self.jinja_env.get_template(cpp_template_filename)
252 header_template = self.jinja_env.get_template('dictionary_v8.h.tmpl')
253 cpp_template = self.jinja_env.get_template('dictionary_v8.cc.tmpl')
299 header_template = self.jinja_env.get_template('dictionary_impl.h.tmpl')
300 cpp_template = self.jinja_env.get_template('dictionary_impl.cc.tmpl')
347 header_template = self.jinja_env.get_template('union_container.h.tmpl')
348 cpp_template = self.jinja_env.get_template('union_container.cc.tmpl')
405 header_template = self.jinja_env.get_template(
407 cpp_template = self.jinja_env.get_template('callback_function.cc.tmpl')
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/
H A Dcode_generator.py92 jinja_env = jinja2.Environment(
100 jinja_env.filters.update({
118 jinja_env.filters.update(constant_filters())
119 jinja_env.filters.update(method_filters())
120 return jinja_env
155 self.jinja_env = initialize_jinja_env(cache_dir)
225 jinja_env = initialize_jinja_env(cache_dir)
232 jinja_env.get_template(template_filename)
H A Dcode_generator_v8.py238 header_template = self.jinja_env.get_template(header_template_filename)
239 cpp_template = self.jinja_env.get_template(cpp_template_filename)
252 header_template = self.jinja_env.get_template('dictionary_v8.h.tmpl')
253 cpp_template = self.jinja_env.get_template('dictionary_v8.cc.tmpl')
299 header_template = self.jinja_env.get_template('dictionary_impl.h.tmpl')
300 cpp_template = self.jinja_env.get_template('dictionary_impl.cc.tmpl')
347 header_template = self.jinja_env.get_template('union_container.h.tmpl')
348 cpp_template = self.jinja_env.get_template('union_container.cc.tmpl')
405 header_template = self.jinja_env.get_template(
407 cpp_template = self.jinja_env.get_template('callback_function.cc.tmpl')
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/autoapi/mappers/
H A Dbase.py56 def __init__(self, obj, jinja_env, app, options=None): argument
60 self.jinja_env = jinja_env
69 __dict__.update(app=None, jinja_env=None) # clear unpickable attributes
77 template = self.jinja_env.get_template(
82 template = self.jinja_env.get_template(
185 self.jinja_env = Environment(
194 self.jinja_env.filters["prepare_docstring"] = _wrapped_prepare
196 self.app.config.autoapi_prepare_jinja_env(self.jinja_env)
338 content = self.jinja_env.get_template("index.rst")
H A Djavascript.py61 obj.jinja_env = self.jinja_env
86 obj = cls(data, jinja_env=self.jinja_env, app=self.app)
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/hw_posbox_homepage/controllers/
H A Dmain.py36 jinja_env = jinja2.Environment(loader=loader, autoescape=True) variable
37 jinja_env.filters["json"] = json.dumps
39 homepage_template = jinja_env.get_template('homepage.html')
40 server_config_template = jinja_env.get_template('server_config.html')
41 wifi_config_template = jinja_env.get_template('wifi_config.html')
42 handler_list_template = jinja_env.get_template('handler_list.html')
43 remote_connect_template = jinja_env.get_template('remote_connect.html')
44 configure_wizard_template = jinja_env.get_template('configure_wizard.html')
45 six_payment_terminal_template = jinja_env.get_template('six_payment_terminal.html')
46 list_credential_template = jinja_env.get_template('list_credential.html')
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/build/scripts/
H A Dtemplate_expander.py47 jinja_env = jinja2.Environment(
53 jinja_env.filters.update(filters)
55 jinja_env.tests.update(tests)
57 template = jinja_env.get_template(template_path)
H A Dmake_instrumenting_probes.py74 jinja_env = jinja2.Environment(
83 jinja_env.filters.update({
93 jinja_env.add_extension('jinja2.ext.loopcontrols')
94 return jinja_env
264 jinja_env = initialize_jinja_env(config, output_dirpath)
284 cpp_template = jinja_env.get_template(template_context["template_file"])
290 sink_h_template = jinja_env.get_template(template_context["template_file"])
303 h_template = jinja_env.get_template(template_context["template_file"])
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/build/scripts/
H A Dtemplate_expander.py47 jinja_env = jinja2.Environment(
53 jinja_env.filters.update(filters)
55 jinja_env.tests.update(tests)
57 template = jinja_env.get_template(template_path)
H A Dmake_instrumenting_probes.py74 jinja_env = jinja2.Environment(
83 jinja_env.filters.update({
93 jinja_env.add_extension('jinja2.ext.loopcontrols')
94 return jinja_env
264 jinja_env = initialize_jinja_env(config, output_dirpath)
284 cpp_template = jinja_env.get_template(template_context["template_file"])
290 sink_h_template = jinja_env.get_template(template_context["template_file"])
303 h_template = jinja_env.get_template(template_context["template_file"])
/dports/www/py-puppetboard/puppetboard-3.3.0/puppetboard/
H A Dcore.py26 app.jinja_env.filters['jsonprint'] = jsonprint
27 app.jinja_env.filters['prettyprint'] = prettyprint
28 app.jinja_env.globals['url_for_field'] = url_for_field
29 app.jinja_env.globals['url_static_offline'] = url_static_offline
/dports/lang/py-textX/textX-2.3.0/examples/Entity/
H A Dentity_codegen.py35 jinja_env = jinja2.Environment(
41 jinja_env.filters['javatype'] = javatype
44 template = jinja_env.get_template('java.template')
/dports/www/py-flask-assets/Flask-Assets-2.0/tests/
H A Dtest_env.py18 t = self.app.jinja_env.from_string('{% assets "test" %}{{ASSET_URL}};{% endassets %}')
35 t = self.app.jinja_env.from_string('{% assets "yamltest" %}{{ASSET_URL}};{% endassets %}')
49 t = self.app.jinja_env.from_string('{% assets "pytest" %}{{ASSET_URL}};{% endassets %}')

12345