uranusjr commented on code in PR #32414:
URL: https://github.com/apache/airflow/pull/32414#discussion_r1255386184
##########
airflow/providers/amazon/aws/hooks/emr.py:
##########
@@ -258,7 +258,8 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
def cancel_running_jobs(self, application_id: str, waiter_config: dict =
{}):
"""
- List all jobs in an intermediate state, cancel them, then wait for
those jobs to reach terminal state.
+ List all jobs in an intermediate state, cancel them, then returns the
number of
+ cancelled jobs.
Review Comment:
```suggestion
Cancel jobs in an intermediate state, and return the number of
cancelled jobs.
```
We’re working on enforcing this docstring format soon.
--
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]