uranusjr commented on code in PR #28979:
URL: https://github.com/apache/airflow/pull/28979#discussion_r1071672038
##########
airflow/providers/papermill/operators/papermill.py:
##########
@@ -33,6 +33,8 @@
class NoteBook(File):
"""Jupyter notebook"""
+ template_fields: ClassVar = {*File.template_fields, "parameters"}
Review Comment:
```suggestion
template_fields: ClassVar[str] = {*File.template_fields, "parameters"}
```
(I don’t think the annotation is actually needed at all though, it should
inherit the type from `File`.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]