dazzling-restaurant-78275
04/15/2024, 6:03 PMcrooked-jordan-29960
04/15/2024, 6:21 PMMETAFLOW_RUNTIME_ENVIRONMENT will tell whether it is local
if os.environ.get("METAFLOW_RUNTIME_ENVIRONMENT", "local") == "local" --> local
elif os.environ.get("METAFLOW_RUNTIME_ENVIRONMENT") == "aws-batch" --> batch
can use the run id to determine if a run is on step functions
if current.run_id.startswith('sfn-') --> step functionsdazzling-restaurant-78275
04/15/2024, 6:57 PM