Skip to content

Commit

Permalink
Fix langauge override in papermill operator (#24301)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhojjohn authored Jun 7, 2022
1 parent a0ed1eb commit 04f98cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/papermill/operators/papermill.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ def execute(self, context: 'Context'):
progress_bar=False,
report_mode=True,
kernel_name=self.kernel_name,
language_name=self.language_name,
language=self.language_name,
)
2 changes: 1 addition & 1 deletion tests/providers/papermill/operators/test_papermill.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_execute(self, mock_papermill):
out_nb,
parameters=parameters,
kernel_name=kernel_name,
language_name=language_name,
language=language_name,
progress_bar=False,
report_mode=True,
)
Expand Down

0 comments on commit 04f98cf

Please sign in to comment.