On 18/04/20 1:56 am, oliveira.rodrigo.m@gmail.com wrote:
This should be valid syntax:
return render_template("index.html", *, twitter, username=user["display_name"], channel, channelid, error, setups=database.list_setups(channelid), sched_tz, schedule, sched_tweet, checklist=database.get_checklist(channelid), timers=database.list_timers(channelid), tweets, )
Not sure I like that. The only thing telling you that the args without = are keyword args rather than positional args is the "*", which is easy to miss amidst all that other stuff.