You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Yang Yu (JIRA)" <ji...@apache.org> on 2019/01/16 23:25:00 UTC

[jira] [Created] (AIRFLOW-3719) StopIteration Not Handled in CloudWatch Logs Retrieval in SageMaker Operators

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)