astro.databases.databricks.load_file.load_file_python_code_generator

Module Contents

Functions

render(template_file, context, output_file)

Render the template_file with context to a file.

astro.databases.databricks.load_file.load_file_python_code_generator.render(template_file, context, output_file)

Render the template_file with context to a file.

Parameters:
  • template_file (pathlib.Path) – The path to the template file.

  • context (dict[str, Any]) – The context to pass to the template file.

  • output_file (pathlib.Path) – The file to output the rendered version.

Return type:

None