[
https://issues.apache.org/jira/browse/AIRFLOW-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752673#comment-16752673
]
ASF GitHub Bot commented on AIRFLOW-3719:
-----------------------------------------
kaxil commented on pull request #4516: [AIRFLOW-3719] Handle StopIteration in
CloudWatch logs retrieval
URL: https://github.com/apache/airflow/pull/4516
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> StopIteration Not Handled in CloudWatch Logs Retrieval in SageMaker Operators
> -----------------------------------------------------------------------------
>
> Key: AIRFLOW-3719
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3719
> Project: Apache Airflow
> Issue Type: Bug
> Components: aws
> Reporter: Yang Yu
> Assignee: Yang Yu
> Priority: Minor
>
> StopIteration Not Handled in CloudWatch Logs Retrieval in SageMaker Operators.
>
> In Python <=3.6, there will be warning for this. And in Python >=3.7, there
> will be error. Reasons see:
> PEP 479 is enabled for all code in Python 3.7, meaning that StopIteration
> exceptions raised directly or indirectly in coroutines and generators are
> transformed into RuntimeError exceptions. (Contributed by Yury Selivanov in
> bpo-32670.)
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)