potiuk commented on issue #28280:
URL: https://github.com/apache/airflow/issues/28280#issuecomment-1366520133

   > Unfortunately we would technically break backward compatibility if we do 
this, but I don’t think there’s a good way around it. Maybe alternatively we 
should introduce a config to normalise when a variable is _read_ (and still 
store them as-is without normalisation) so people can enable it if needed. 
(It’s probably not very relevant for most use cases.)
   
   Yep. The 'read' time normalisation is essentially what 'text=True` does in 
Python stdlib's read. I guess indeed following this approach and adding 
'get(var, text: bool) for variable would be the best way to implement it. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to