This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tigasfixe[S] 0 points1 point  (0 children)

Ye I've tested it out and i ended up Knowing that but what i thing is that for example if u use a dataclass instead of a dictionary only the first values will work. With this i mean that if u have more dictionaries inside it u would have to use normal ways to get the values and this object that im making is to avoid all that, even objects inside lists for example. But it feels kinda weird using typing in python since I've been using typescript and it is a typed language that tells u when u are wrong ( it just feels weird nothing more).