You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/09/15 20:52:57 UTC

[GitHub] [airflow] hussein-awala commented on issue #34394: var.json.get not working correctly with nested JSON objects

hussein-awala commented on issue #34394:
URL: https://github.com/apache/airflow/issues/34394#issuecomment-1721853301

   In fact, the initial use case of this method was fetching the variable using the provided key as it is, and it's very helpful if your variable key contains a dot:
   ![image](https://github.com/apache/airflow/assets/21311487/4a98caba-532d-43a1-a883-4d391aeeddae)
   
   The other method will not work, because it will try to get the nested variable b from the variable a.
   
   I created #34411 to add a small comment about this need.


-- 
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-unsubscribe@airflow.apache.org

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