Ask coding questions

← Back to all posts
Do Repl Databases not support classes
FullKnight51

This doesn't seem to work, and it gives a weird error messages. I tried storing the class in a dictionary, that didn't work either.

Voters
FullKnight51
Comments
hotnewtop
ch1ck3n

It can only store Dictionaries and Strings currently as it sends a request to a server and HTTP headers can not store python class data

FullKnight51

What about JSONs strings which you convert to [email protected]

VulcanWM

They are dictionaries @FullKnight51

FullKnight51

what do you mean? Sorry I have not done very much Javascript

ch1ck3n

@FullKnight51 you cant convert a class to dictionaries unless you have a method for it

ch1ck3n

@FullKnight51 what do you mean javascript

FullKnight51

nothing i just thought you could send in a JSON string and convert it client [email protected]

ch1ck3n

@FullKnight51 you absolutely can do that

FullKnight51

oh ok well that's good then @ch1ck3n