kaxil commented on code in PR #48244:
URL: https://github.com/apache/airflow/pull/48244#discussion_r2018091814
##########
task-sdk/src/airflow/sdk/definitions/baseoperator.py:
##########
@@ -1549,6 +1549,26 @@ def render_template_fields(
jinja_env = self.get_template_env()
self._do_render_template_fields(self, self.template_fields, context,
jinja_env, set())
+ def pre_execute(self, context: Any):
+ """Execute right before self.execute() is called."""
Review Comment:
`pass` is moot since we have docstrings. All the following are same :)
```python
def x(): ...
def x():
pass
def x():
"""
```
--
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]