Пример #1
0
def get_verify_parser():
    parser = verify_parser(USAGE)
    parser.add_argument('input', nargs=1, help='CSV or feather file')
    parser.add_argument('constraints',
                        nargs=1,
                        help='constraints file to verify against')
    return parser
Пример #2
0
 def verify(self):
     parser = verify_parser()
     parser.add_argument('directory', nargs=1, help='directory path')
     parser.add_argument('constraints',
                         nargs=1,
                         help='constraints file to verify against')
     return self.verify_or_detect(parser, detect=False)
Пример #3
0
def pd_verify_parser():
    parser = verify_parser(USAGE)
    parser.add_argument('input', nargs=1, help='CSV or feather file')
    parser.add_argument('constraints', nargs='?',
                        help='constraints file to verify against')
    return parser
Пример #4
0
 def verify(self):
     parser = verify_parser()
     parser.add_argument('directory', nargs=1, help='directory path')
     parser.add_argument('constraints', nargs=1,
                         help='constraints file to verify against')
     return self.verify_or_detect(parser, detect=False)