Flask - Simpan objek langsung dalam sesi [duplikat]

def main():
    session['my_object'] = Test(1, 2, 3).__dict__
    return redirect('retrieve')
Xenophobic Xenomorph