#!/bin/bash

set +x

if [ "$RELOAD" = 'true' ] ; then
  reload_arg=', "reload": "True"'
else
  reload_arg=''
fi

python feed_ingestion/bin/exec_flows.py youtube_facts --skip $SKIP --days $DAYS \
  --context '{"report_type": "'$REPORT_TYPE'", "licensor": "'$LICENSOR'" '$reload_arg'}' --check-status

