RosterIn commented on issue #4819: [AIRFLOW-3997] Add accessor for optional variables URL: https://github.com/apache/airflow/pull/4819#issuecomment-469004096 I think `get_soft()` or `try_get()` might be a better name than `optional()` The try_get() idea is taken from the `CAST `function of `SQL`: https://database.guide/cast-vs-try_cast-in-sql-server-whats-the-difference/ which has very similar functionality to what this PR is about.
---------------------------------------------------------------- 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] With regards, Apache Git Services
