Yang Yu created AIRFLOW-3719:
--------------------------------

             Summary: 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


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)

Reply via email to