I think it's in general not advisable to mess with your site packages directory. It would get overwritten with an upgrade.
The configurable stuff usually gets deposited in your AIRFLOW_HOME or at least it ought to i would think? like these: airflow.cfg unittests.cfg webserver_config.py I suspect this is probably supposed to go in AIRFLOW_HOME but it's just not getting autocreated. And maybe there is some documentation missing. I can find a few references to this file in docs but nothing explicitly discussing it like there is with airflow.cfg IIRC On Thu, Jan 16, 2020 at 3:41 PM Reed Villanueva <[email protected]> wrote: > @daniel > > That file is part of the airflow package (not the AIRFLOW_HOME dir as I > (and I am guessing, you) assumed). Can find on your machine with something > like... > > [airflow@airflowetl]$ find ~/ -name airflow_local_settings.py > > /home/airflow/.local/lib/python3.6/site-packages/airflow/config_templates/airflow_local_settings.py > > I think this is what the docs are referring to. > > > On Thu, Jan 16, 2020 at 1:17 PM Daniel Standish <[email protected]> > wrote: > >> @ash reading that page i notice a reference to airflow_local_settings.py >> >> you need to define a json variable in local Airflow settings ( >>> airflow_local_settings.py) >> >> >> is that a thing? do we have settings configurability with a python >> file? or does this mean to point us to airflow.cfg? >> >> i tried searching docs but found nothing indicating how to use >> airflow_local_settings.py to configure airflow. >> > > This electronic message is intended only for the named > recipient, and may contain information that is confidential or > privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or > use of the contents of this message is strictly prohibited. If > you have received this message in error or are not the named > recipient, please notify us immediately by contacting the > sender at the electronic mail address noted above, and delete > and destroy all copies of this message. Thank you. >
