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
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)
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