Created
October 26, 2019 22:42
-
-
Save cicdw/c7c5569a4abcea86b28cbd397d3f1fe4 to your computer and use it in GitHub Desktop.
Example of updating inputs to provide a scheduled start time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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