https://flyte.org logo
#ask-the-community
Title
# ask-the-community
c

Cornelis Boon

03/20/2024, 12:46 PM
Does flyte expose some kind of flag to indicate if a workflow is running locally or remotely?
Probably can use
current_context.execution_id.project (or domain)
as these seem to eval to local when run locally
k

Ketan (kumare3)

03/20/2024, 2:26 PM
Ya that is safe flag
But seems like a code smell, ideally you do not care and can be driven by input parameters
c

Cornelis Boon

03/20/2024, 2:44 PM
Fair enough