Skip to content

Instantly share code, notes, and snippets.

@cicdw
Created October 26, 2019 22:42
Show Gist options
  • Save cicdw/c7c5569a4abcea86b28cbd397d3f1fe4 to your computer and use it in GitHub Desktop.
Save cicdw/c7c5569a4abcea86b28cbd397d3f1fe4 to your computer and use it in GitHub Desktop.
Example of updating inputs to provide a scheduled start time
# if you wish to pass a start time other than immediately
# you can provide an ISO formatted timestamp for when you
# want this run to begin
from datetime import datetime, timedelta
# actually run the flow in two hours
inputs['scheduledStartTime'] = (datetime.utcnow() + timedelta(hours=2)).isoformat()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment