Arshak Ulubabyan
09/30/2022, 8:34 AMNick Müller (MorpheusXAUT)
09/30/2022, 9:50 AMFLYTE_INTERNAL_DOMAIN
FLYTE_INTERNAL_EXECUTION_DOMAIN
FLYTE_INTERNAL_EXECUTION_ID
FLYTE_INTERNAL_EXECUTION_PROJECT
FLYTE_INTERNAL_EXECUTION_WORKFLOW
FLYTE_INTERNAL_NAME
FLYTE_INTERNAL_PROJECT
FLYTE_INTERNAL_TASK_DOMAIN
FLYTE_INTERNAL_TASK_NAME
FLYTE_INTERNAL_TASK_PROJECT
FLYTE_INTERNAL_TASK_VERSION
FLYTE_INTERNAL_VERSION
should probably be able to grab the info from thereRobin Eklund
09/30/2022, 12:07 PMFLYTE_INTERNAL_DOMAIN
and FLYTE_INTERNAL_EXECUTION_DOMAIN
Samhita Alla
flytekit.current_context().execution_id.project
construct to retrieve project; same for domain.Nick Müller (MorpheusXAUT)
09/30/2022, 12:11 PMSamhita Alla
difference betweenI don’t thinkandFLYTE_INTERNAL_DOMAIN
FLYTE_INTERNAL_EXECUTION_DOMAIN
FLYTE_INTERNAL_DOMAIN
exists anymore. It got to be the latter var.Nick Müller (MorpheusXAUT)
09/30/2022, 12:22 PMBernhard Stadlbauer
09/30/2022, 1:14 PMFLYTE_INTERNAL_DOMAIN
will point to the domain the task was registered to, whereas FLYTE_INTERNAL_EXECUTION_DOMAIN
will point to the domain the task is running in.
This makes a difference in case you run a task “by reference” (docs) where you can e.g. run a task which was registered to production
within the development
domainRobin Eklund
09/30/2022, 1:17 PMKetan (kumare3)