🔴- If you enjoyed this video please Like, Comment and Subscribe for more :)
@farzadmf
2 жыл бұрын
Very useful information. Did not know about these at all!
@iamrithmic
2 жыл бұрын
Game changer right :)
@farzadmf
2 жыл бұрын
I know! Exactly!
@theo1311
2 жыл бұрын
I've watched a lot of dataclass videos, yours makes a lot of sense, but covers the same as everyone else. Can you do a more advanced one... maybe on how to interact with the dataclass... access specific object and update the information. No one has a video showing something that takes input from an api request or user input, then manipulates the data, and shows an output.
@iamrithmic
2 жыл бұрын
Thanks for the comment. I have other API videos relating to FastAPI and Django where I make heavy use of data classes
@user-hr8iz9lb3g
2 жыл бұрын
Thanks
@iamrithmic
2 жыл бұрын
More than welcome
@WeirdAlSuperFan
Жыл бұрын
Why in the first part did you define (or did you define...?) static variables with the same names as the class's instance variables? I thought if you assign variables to an object inside the constructor that you don't need to declare them outside it, and if you define them outside the constructor that they're shared across all instances...? Is what you wrote a special notation? Why didn't those variables need to be assigned? Are they assigned to None or something just by declaring them like that?
Пікірлер: 9