databricks-cli
databricks-cli copied to clipboard
use .ipynb extension if output format is JUPYTER
When requesting JUPYTER output format, each of the language types properly export in .ipynb JSON format, but the file extensions are incorrect. I updated the .to_extension method to take an argument for whether the requested output format is JUPYTER. If so, the method returns .ipynb as the file extension.