chipmyersjr commented on a change in pull request #10005:
URL: https://github.com/apache/airflow/pull/10005#discussion_r460465705
##########
File path: airflow/providers/jira/operators/jira.py
##########
@@ -45,21 +46,21 @@ class JiraOperator(BaseOperator):
@apply_defaults
def __init__(self,
- jira_conn_id='jira_default',
- jira_method=None,
- jira_method_args=None,
- result_processor=None,
- get_jira_resource_method=None,
+ jira_conn_id: str = 'jira_default',
+ jira_method: Any = None,
Review comment:
Made this change but requires type hint on line 83 because getattr
doesn't like getting a None passed as argument
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]