Sometimes I have to specify the time (in seconds) in the configuration file, and it's quite annoying to write exact seconds amount - instead I would like to perform arithmetics so I could use:
some_time: 1 * 24 * 60 * 60
instead of exact:
some_time: 86400
Unfortunately, while using this line: some_time: 1 * 24 * 60 * 60
, it will treat that configuration line as a string. Of course, I can use - eval(config['some_time'])
but I am rather wondering if that is possible to perform arithmetics in YAML?