示例#1
0
文件: stream.py 项目: GiovanH/pysnip
    def __init__(self, **kwargs):
        """Summary

        Args:
            **kwargs: Description
        """
        Formatter.__init__(self)
        self.defaults = kwargs
示例#2
0
 def __init__(self, context=None):
     Formatter.__init__(self)
     self.context = context
示例#3
0
 def __init__(self, variables={}):
     Formatter.__init__(self)
     self._variables = variables
     self._last_item_ids = {}
 def __init__(self, default=''):
     Formatter.__init__(self)
     self.default = default
示例#5
0
 def __init__(self, msg_dict, nocolor):
     Formatter.__init__(self)
     self.msg_dict = msg_dict
     self.nocolor = nocolor
示例#6
0
 def __init__(self, namespace=None):
     Formatter.__init__(self)
     if namespace is None:
         namespace = {}
     self.namespace = namespace
示例#7
0
 def __init__(self, env):
     SandboxedFormatterMixin.__init__(self, env)
     Formatter.__init__(self)
 def __init__(self, env):
     SandboxedFormatterMixin.__init__(self, env)
     Formatter.__init__(self)
示例#9
0
 def __init__(self, la, *args, **kwargs):
     Formatter.__init__(self, *args, **kwargs)
示例#10
0
 def __init__(self):
     Formatter.__init__(self)
示例#11
0
 def __init__(self, cli_kwargs={}):
     Formatter.__init__(self)
     self.cli_kwargs = cli_kwargs
示例#12
0
 def __init__(self, *args, check_tty=True, **kwargs):
     Formatter.__init__(self, *args, **kwargs)
     self.check_tty = check_tty
示例#13
0
文件: util.py 项目: macacajs/wd.py
 def __init__(self):
     """Initialize the MemorizeFormatter."""
     Formatter.__init__(self)
     self._used_kwargs = {}
     self._unused_kwargs = {}
示例#14
0
 def __init__(self, defaults={}):
     Formatter.__init__(self)
     self.defaults = defaults
示例#15
0
 def __init__(self):
     """Initialize the MemorizeFormatter."""
     Formatter.__init__(self)
     self._used_kwargs = {}
     self._unused_kwargs = {}
示例#16
0
文件: rex.py 项目: Pixomondo/rez
 def __init__(self, namespace):
     Formatter.__init__(self)
     self.initial_namespace = namespace
     self.namespace = self.initial_namespace
示例#17
0
 def __init__(self, namespace):
     Formatter.__init__(self)
     self.initial_namespace = namespace
     self.namespace = self.initial_namespace
示例#18
0
 def __init__(self, namespace={}):
     Formatter.__init__(self)
示例#19
0
 def __init__(self, namespace):
     Formatter.__init__(self)
     self.namespace = namespace
示例#20
0
文件: rex.py 项目: skral/rez
 def __init__(self, namespace):
     Formatter.__init__(self)
     self.namespace = namespace
示例#21
0
 def __init__(self):
     """
     Inits the startup method for Python's default Formatter class
     """
     Formatter.__init__(self)
 def __init__(self, db, num_iterations=10):
     Formatter.__init__(self)
     self.vocabs = ChainMap(db)
     self.context = None
     self.iterations = num_iterations
示例#23
0
 def __init__(self, namespace=None):
     Formatter.__init__(self)
     if namespace is None:
         namespace = {}
     self.namespace = namespace
示例#24
0
文件: config_utils.py 项目: Yelp/Tron
 def __init__(self, context=None):
     Formatter.__init__(self)
     self.context = context