コード例 #1
0
def get_parser(module_path):
  try:
    return source_parser.extract_parser(module_path)
  except source_parser.ParserError:
    raise source_parser.ParserError(
      'Could not locate ArgumentParser statements in Main().'
      '\nThis is probably my fault :( Please checkout github.com/chriskiehl/gooey to file a bug!')
コード例 #2
0
ファイル: gooey_decorator.py プロジェクト: 3ancho/Gooey
def get_parser(module_path):
  # try:
  return source_parser.extract_parser(module_path)
コード例 #3
0
ファイル: gooey_decorator.py プロジェクト: pombreda/Gooey
def get_parser(module_path):
  return source_parser.extract_parser(module_path)