Python jinja2.environment.Environment.__init__() Examples
The following are 30
code examples of jinja2.environment.Environment.__init__().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
jinja2.environment.Environment
, or try the search function
.
Example #1
Source File: sandbox.py From planespotter with MIT License | 5 votes |
def __init__(self, args, kwargs): self._args = args self._kwargs = kwargs self._last_index = 0
Example #2
Source File: sandbox.py From SA-ctf_scoreboard with Creative Commons Zero v1.0 Universal | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #3
Source File: sandbox.py From syntheticmass with Apache License 2.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #4
Source File: sandbox.py From EDCOP with Apache License 2.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #5
Source File: sandbox.py From EDCOP with Apache License 2.0 | 5 votes |
def __init__(self, env): self._env = env
Example #6
Source File: sandbox.py From EDCOP with Apache License 2.0 | 5 votes |
def __init__(self, args, kwargs): self._args = args self._kwargs = kwargs self._last_index = 0
Example #7
Source File: sandbox.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __init__(self, env): SandboxedFormatterMixin.__init__(self, env) Formatter.__init__(self)
Example #8
Source File: sandbox.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __init__(self, env): self._env = env
Example #9
Source File: sandbox.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #10
Source File: sandbox.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __init__(self, args, kwargs): self._args = args self._kwargs = kwargs self._last_index = 0
Example #11
Source File: sandbox.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __init__(self, env, escape): SandboxedFormatterMixin.__init__(self, env) EscapeFormatter.__init__(self, escape)
Example #12
Source File: sandbox.py From planespotter with MIT License | 5 votes |
def __init__(self, env, escape): SandboxedFormatterMixin.__init__(self, env) EscapeFormatter.__init__(self, escape)
Example #13
Source File: sandbox.py From planespotter with MIT License | 5 votes |
def __init__(self, env): SandboxedFormatterMixin.__init__(self, env) Formatter.__init__(self)
Example #14
Source File: sandbox.py From planespotter with MIT License | 5 votes |
def __init__(self, env): self._env = env
Example #15
Source File: sandbox.py From planespotter with MIT License | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #16
Source File: sandbox.py From luci-py with Apache License 2.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #17
Source File: sandbox.py From Flask-P2P with MIT License | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #18
Source File: sandbox.py From Financial-Portfolio-Flask with MIT License | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #19
Source File: sandbox.py From cadquery-freecad-module with GNU Lesser General Public License v3.0 | 5 votes |
def __init__(self, env, escape): SandboxedFormatterMixin.__init__(self, env) EscapeFormatter.__init__(self, escape)
Example #20
Source File: sandbox.py From cadquery-freecad-module with GNU Lesser General Public License v3.0 | 5 votes |
def __init__(self, env): SandboxedFormatterMixin.__init__(self, env) Formatter.__init__(self)
Example #21
Source File: sandbox.py From cadquery-freecad-module with GNU Lesser General Public License v3.0 | 5 votes |
def __init__(self, env): self._env = env
Example #22
Source File: sandbox.py From cadquery-freecad-module with GNU Lesser General Public License v3.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #23
Source File: sandbox.py From cadquery-freecad-module with GNU Lesser General Public License v3.0 | 5 votes |
def __init__(self, args, kwargs): self._args = args self._kwargs = kwargs self._last_index = 0
Example #24
Source File: sandbox.py From scylla with Apache License 2.0 | 5 votes |
def __init__(self, env, escape): SandboxedFormatterMixin.__init__(self, env) EscapeFormatter.__init__(self, escape)
Example #25
Source File: sandbox.py From scylla with Apache License 2.0 | 5 votes |
def __init__(self, env): SandboxedFormatterMixin.__init__(self, env) Formatter.__init__(self)
Example #26
Source File: sandbox.py From scylla with Apache License 2.0 | 5 votes |
def __init__(self, env): self._env = env
Example #27
Source File: sandbox.py From scylla with Apache License 2.0 | 5 votes |
def __init__(self, *args, **kwargs): Environment.__init__(self, *args, **kwargs) self.globals['range'] = safe_range self.binop_table = self.default_binop_table.copy() self.unop_table = self.default_unop_table.copy()
Example #28
Source File: sandbox.py From scylla with Apache License 2.0 | 5 votes |
def __init__(self, args, kwargs): self._args = args self._kwargs = kwargs self._last_index = 0
Example #29
Source File: sandbox.py From Building-Recommendation-Systems-with-Python with MIT License | 5 votes |
def __init__(self, env, escape): SandboxedFormatterMixin.__init__(self, env) EscapeFormatter.__init__(self, escape)
Example #30
Source File: sandbox.py From Building-Recommendation-Systems-with-Python with MIT License | 5 votes |
def __init__(self, env): SandboxedFormatterMixin.__init__(self, env) Formatter.__init__(self)