JCoder01 commented on issue #8061: URL: https://github.com/apache/airflow/issues/8061#issuecomment-802837425
At first pass I can see 2 paths to fixing this. 1) change what gets passed in to `TI.generate_command` [here](https://github.com/apache/airflow/blob/master/airflow/jobs/scheduler_job.py#L1103) to replace the local dags_folder with `DAGS_FOLDER` or add a property `dag_model` such as `generic_file_path` and pass that in rather than `fileloc`, either way do a `.replace(settings.DAGS_FOLDER, 'DAGS_FOLDER'), 'DAGS_FOLDER')` somewhere or 2) move it further upstream and do something with `fileloc` in the db to strip out the path of the dags_folder before saving to the table. @ashb and @kaxil thoughts? -- 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]
