You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/07/01 14:02:34 UTC
[airflow] branch main updated: Restore Optional value of script_location (#24754)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 49925be664 Restore Optional value of script_location (#24754)
49925be664 is described below
commit 49925be66483ce942bcd4827df9dbd41c3ef41cf
Author: João Bernardo Oliveira <jb...@gmail.com>
AuthorDate: Fri Jul 1 11:02:27 2022 -0300
Restore Optional value of script_location (#24754)
This fixes https://github.com/apache/airflow/issues/24753
---
airflow/providers/amazon/aws/operators/glue.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/providers/amazon/aws/operators/glue.py b/airflow/providers/amazon/aws/operators/glue.py
index cb76e78430..f5cc8c104b 100644
--- a/airflow/providers/amazon/aws/operators/glue.py
+++ b/airflow/providers/amazon/aws/operators/glue.py
@@ -66,7 +66,7 @@ class GlueJobOperator(BaseOperator):
*,
job_name: str = 'aws_glue_default_job',
job_desc: str = 'AWS Glue Job with Airflow',
- script_location: str,
+ script_location: Optional[str] = None,
concurrent_run_limit: Optional[int] = None,
script_args: Optional[dict] = None,
retry_limit: int = 0,