|
__init__(self,
parser,
builder,
encoder,
decoder,
autoupdate=False,
eventfilters=None,
streamfilters=None,
default_eventfilters=True,
default_streamfilters=True,
default_eventfilter_list=None,
default_streamfilter_list=None,
overlay_eventfilters=None,
overlay_streamfilters=None,
overlay_default_eventfilters=True,
overlay_default_streamfilters=True,
default_encoding=' ascii ' ,
chunksize=None,
memoizer=None)
Initialization |
source code
|
|
BuilderInterface
|
|
Factory
|
replace(self,
autoupdate=None,
eventfilters=None,
streamfilters=None,
default_eventfilters=None,
default_streamfilters=None,
overlay_eventfilters=None,
overlay_streamfilters=None,
overlay_default_eventfilters=None,
overlay_default_streamfilters=None,
default_encoding=None,
memoizer=None)
Create a new factory instance with replaced values |
source code
|
|
Template
|
|
Template
|
from_opener(self,
opener,
filename,
encoding=None,
key=None)
Build template from stream as returned by stream opener |
source code
|
|
Template
|
from_stream(self,
stream,
encoding=None,
filename=None,
mtime=None,
opener=None,
key=None)
Build template from stream |
source code
|
|
Template
|
from_string(self,
data,
encoding=None,
filename=None,
mtime=None,
key=None)
Build template from from string |
source code
|
|
Template
|
from_files(self,
names,
encoding=None,
basedir=None,
key=None)
Load templates from files and overlay them |
source code
|
|
Template
|
from_streams(self,
streams,
encoding=None,
streamopen=None,
key=None)
Load templates from streams and overlay them |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|