Hi Lucas,
os.environ.get('GCP_PROJECT')
works fine, thanks.
Now the question is: is possible to get this info from Variable Airflow object as shows in the GCP Notifications example:https://cloud.google.com/composer/docs/how-to/using/writing-dags
Da: cloud-compo...@googlegroups.com <cloud-compo...@googlegroups.com>
Per conto di Lucas Esteves Cardozo
Inviato: giovedì 26 novembre 2020 16:20
A: cloud-composer-discuss <cloud-compo...@googlegroups.com>
Oggetto: Re: Variable.get('gcp_project') Issue
--
You received this message because you are subscribed to a topic in the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/cloud-composer-discuss/wKx882dgPMc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
cloud-composer-di...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/cloud-composer-discuss/dbb1eba7-43f7-4d86-8b83-59db4af050can%40googlegroups.com.