[Python] How does my list become ObservedList? Problem with replit db

Discussão em 'Python' iniciado por Stack, Fevereiro 1, 2025.

  1. Stack

    Stack Membro Participativo

    I have a problem with making discord bot on repl.it, my list is 'ObservedList' and i dont know what to do with this, when I watch some tutorials its always just a normal list

    from replit import db

    db['fruits'] = ['apple','banana']
    print(db['fruits'])


    Output:

    ObservedList(value=['apple', 'banana'])

    Continue reading...

Compartilhe esta Página