python API - story variables
