You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/04/01 20:00:04 UTC
[airflow] branch master updated: Send region_name into parant class
of AwsGlueJobHook (#14251)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 6822665 Send region_name into parant class of AwsGlueJobHook (#14251)
6822665 is described below
commit 6822665102c973d6e4d5892564294489ca094580
Author: Hossein Torabi <bl...@gmail.com>
AuthorDate: Thu Apr 1 21:59:49 2021 +0200
Send region_name into parant class of AwsGlueJobHook (#14251)
---
airflow/providers/amazon/aws/hooks/glue.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/airflow/providers/amazon/aws/hooks/glue.py b/airflow/providers/amazon/aws/hooks/glue.py
index e2a4ccf..305acaf 100644
--- a/airflow/providers/amazon/aws/hooks/glue.py
+++ b/airflow/providers/amazon/aws/hooks/glue.py
@@ -60,7 +60,6 @@ class AwsGlueJobHook(AwsBaseHook):
script_location: Optional[str] = None,
retry_limit: int = 0,
num_of_dpus: int = 10,
- region_name: Optional[str] = None,
iam_role_name: Optional[str] = None,
create_job_kwargs: Optional[dict] = None,
*args,
@@ -72,7 +71,6 @@ class AwsGlueJobHook(AwsBaseHook):
self.script_location = script_location
self.retry_limit = retry_limit
self.num_of_dpus = num_of_dpus
- self.region_name = region_name
self.s3_bucket = s3_bucket
self.role_name = iam_role_name
self.s3_glue_logs = 'logs/glue-logs/'