Slackbot
07/28/2022, 7:45 PMEduardo
Eduardo
Willie Wheeler
07/28/2022, 7:54 PMWillie Wheeler
07/28/2022, 7:54 PMEduardo
Willie Wheeler
07/28/2022, 10:43 PMWillie Wheeler
07/28/2022, 10:43 PMEduardo
{{now}}
, is that we pass it as a string, so you'd need to parse it as an datetime then back to a string, which isn't ideal. what about supporting dotted paths in env.yaml
?
# env.yaml
now: functions.now # executes the function and assigns the returned value to now
# functions.py
def now():
# your logic goes here
return something
Willie Wheeler
07/29/2022, 1:19 AMEduardo
Willie Wheeler
07/29/2022, 6:24 PMEduardo
Willie Wheeler
08/10/2022, 7:47 PMWillie Wheeler
08/10/2022, 7:48 PMEduardo