MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / main

Function main

rat-sql-gap/seq2struct/commands/preprocess.py:37–44  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

35 return args
36
37def main(args):
38 if args.config_args:
39 config = json.loads(_jsonnet.evaluate_file(args.config, tla_codes={'args': args.config_args}))
40 else:
41 config = json.loads(_jsonnet.evaluate_file(args.config))
42
43 preprocessor = Preprocessor(config)
44 preprocessor.preprocess()
45
46if __name__ == '__main__':
47 args = add_parser()

Callers 1

preprocess.pyFile · 0.70

Calls 2

preprocessMethod · 0.95
PreprocessorClass · 0.85

Tested by

no test coverage detected