Esempio n. 1
0
 def get_raw_data(self):
     """
     Parse the raw commandline arguments (from sys.argv) to a dictionary
     that is understandable to the rest of the framework.
     """
     arguments = self.request.argv[1:]
     if not arguments[0].startswith('--'):
         # first argument is the program name
         arguments = arguments[1:]
     return parse_kwargs(arguments)
Esempio n. 2
0
 def get_raw_data(self):
     kwargs = self.request.args
     return parse_kwargs(kwargs)
Esempio n. 3
0
 def get_raw_data(self):
     kwargs = self.request.args
     return parse_kwargs(kwargs)