Join Slack
Powered by
Does flyte expose some kind of flag to indicate if...
# 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?
Cornelis Boon
03/20/2024, 2:19 PM
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
Ketan (kumare3)
03/20/2024, 2:27 PM
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
Open in Slack
Previous
Next