marcusianlevine commented on issue #8421: URL: https://github.com/apache/airflow/issues/8421#issuecomment-671955151
Hmm it's been awhile since I've worked on the UI I'll do some digging in the code and see if I can come up with a reasonable design... Do you happen to know off-hand if there is any way to tell at run-time whether DAG code is being compiled by the webserver? Because we need the Variable's `key` instead to do the conditional masking, we really need to mask the Variable values at the time that `Variable.get` is called... I'm also not sure how this would work with serialized DAGs: once they're serialized they will have the unmasked values, so if the webserver just reads the serialized DAG directly we'd have no way to know whether to mask certain Variables since they would already be just their keys Maybe we need a more dynamic way of injecting Variables rather than reading them at compile time and hard-coding their values into the DB? ---------------------------------------------------------------- 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: us...@infra.apache.org