uranusjr commented on code in PR #42058:
URL: https://github.com/apache/airflow/pull/42058#discussion_r1746722730
##########
docs/apache-airflow/howto/custom-operator.rst:
##########
@@ -283,7 +283,7 @@ templated field:
class HelloOperator(BaseOperator):
template_fields = "field_a"
- def __init__(field_a_id) -> None: # <- should be def
__init__(field_a)-> None
+ def __init__(self, field_a_id) -> None: # <- should be def
__init__(self, field_a)-> None
Review Comment:
```suggestion
def __init__(self, field_a_id) -> None: # <- should be def
__init__(self, field_a) -> None
```
while we’re at this
--
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]