You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/10/30 11:26:27 UTC
(airflow) 32/46: Remove redundant variables from `example_python_operator` (#35046)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit c000316e36dd678d998c8dee8e34f49e9c2e534f
Author: aeongsseu <81...@users.noreply.github.com>
AuthorDate: Fri Oct 20 03:08:12 2023 +0900
Remove redundant variables from `example_python_operator` (#35046)
* remove variable and library that are unused
* erasing test code that I forgot
* remove code that I forgot to remove
(cherry picked from commit 12f4d51ce50c16605bede57d79998409e4a3ac4a)
---
airflow/example_dags/example_python_operator.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/airflow/example_dags/example_python_operator.py b/airflow/example_dags/example_python_operator.py
index 7c8b27de76..99fbcd9719 100644
--- a/airflow/example_dags/example_python_operator.py
+++ b/airflow/example_dags/example_python_operator.py
@@ -23,7 +23,6 @@ from __future__ import annotations
import logging
import sys
-import tempfile
import time
from pprint import pprint
@@ -37,8 +36,6 @@ log = logging.getLogger(__name__)
PATH_TO_PYTHON_BINARY = sys.executable
-BASE_DIR = tempfile.gettempdir()
-
def x():
pass