File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def load_body_to_dict(body):
147147 raise AirflowException (f"Exception when loading resource definition: { e } \n " )
148148 return body_dict
149149
150- yaml_path = os .path .join (os .environ .get ('AIRFLOW__CORE__DAGS_FOLDER' ), 'pyspark_pi.yaml' )
150+ yaml_path = os .path .join (os .environ .get ('AIRFLOW__CORE__DAGS_FOLDER' ), '../manifests/spark-k8s/ pyspark_pi.yaml' )
151151
152152 with open (yaml_path , 'r' ) as file :
153153 crd = file .read ()
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ data:
238238 raise AirflowException(f"Exception when loading resource definition: {e}\n")
239239 return body_dict
240240
241- yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), '../manifests/spark-k8s/ pyspark_pi.yaml')
241+ yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), 'pyspark_pi.yaml')
242242
243243 with open(yaml_path, 'r') as file:
244244 crd = file.read()
You can’t perform that action at this time.
0 commit comments