Exemple #1
0
 def __init__(self, reader='KeysReader', defaultArg='*', desc=None):
     self.realReader = reader
     if(reader == 'ShardsIDReader'):
         reader = 'PythonReader'
     self.reader = reader
     self.gearsCtx = gearsCtx(self.reader, desc)
     self.defaultArg = defaultArg
Exemple #2
0
 def __init__(self, reader='KeysReader', defaultArg='*'):
     self.realReader = reader
     if (reader == 'KeysOnlyReader' or reader == 'ShardsIDReader'):
         reader = 'PythonReader'
     self.reader = reader
     self.gearsCtx = gearsCtx(self.reader)
     self.defaultArg = defaultArg