(input_file)
| 2 | |
| 3 | |
| 4 | def config(input_file): |
| 5 | # read from a yaml file |
| 6 | kragen_config = { |
| 7 | 'output_directory': os.getenv('CONVERT_OUTPUT_DIR'), |
| 8 | 'convert_chunk_size': os.getenv('CONVERT_CHUNK_SIZE'), |
| 9 | 'output_filename': os.getenv('CONVERT_OUTPUT_FILENAME'), |
| 10 | 'input_file': input_file, |
| 11 | |
| 12 | } |
| 13 | return kragen_config |