Does flyte expose some kind of flag to indicate if...
# ask-the-community
c
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
Ya that is safe flag
But seems like a code smell, ideally you do not care and can be driven by input parameters
c
Fair enough