python descriptors! (advanced) anthony explains

  Рет қаралды 17,942

anthonywritescode

anthonywritescode

Күн бұрын

Пікірлер: 26
@a-rye
@a-rye Жыл бұрын
You weren't kidding about advanced, but I enjoyed it all the same. Keep up the great work and awesome videos, sir!
@amir.hessam
@amir.hessam Жыл бұрын
nice! I was waiting for this for a long time ... maybe next is MetaClasses ?
@BinaryLynx
@BinaryLynx Жыл бұрын
Purpose is to make ... magical and different. Informative
@adibauI
@adibauI Жыл бұрын
lol I can't see one of your videos and don't click in it. I'm addicted
@sanithumabarna
@sanithumabarna Жыл бұрын
Can you give long explanation about MetaClasses in python ?
@ВалерийГазаров-я5г
@ВалерийГазаров-я5г Жыл бұрын
Nice video. Sorry for offtopic question, but what keyboard is that? Look so cool!
@anthonywritescode
@anthonywritescode Жыл бұрын
check out the faq playlist! It's the kinesis something or another
@expirytrader5802
@expirytrader5802 Жыл бұрын
Much awaited video from you. Thanks adding this one
@MatiasRondeau
@MatiasRondeau Жыл бұрын
Thanks Anthony! It's very helpfull the video! Just a question. What about async descriptors? It's possible to apply?
@anthonywritescode
@anthonywritescode Жыл бұрын
try it and find out!
@rdean150
@rdean150 Жыл бұрын
Can you make a video discussing class properties, why chaining @property and @classmethod decorators does not work properly, and how to implement a combined classproperty decorator descriptor?
@anthonywritescode
@anthonywritescode Жыл бұрын
there's a few videos where I tear down property in depth -- they're near the beginning of the playlist (try the github link might be easier to find them)
@rdean150
@rdean150 Жыл бұрын
@@anthonywritescode Sorry, I mean *class-level properties* specifically. There are nuances to the @property and @classmethod decorators that make them un-chainable, apparently. Or at least, chaining them together is not always safe. Or are you saying that this topic in particular is covered in your previous videos on properties?
@muradpopattia5556
@muradpopattia5556 Жыл бұрын
At 14:00, inside get(self, obj, owner), shouldn't it be if obj is None: return self instead of checking owner to be None, since when called from class, the instance would be None and not the owner. Do correct me if I'm wrong. Nonetheless, enjoying your vids. Hope to get a mentor like you one day!
@aflous
@aflous 2 ай бұрын
You're right!
@senseikoudai6186
@senseikoudai6186 Жыл бұрын
I've recently watched a video about getter, setter and deleter decorators in combination with the @property decorator. Do these decorators basically add the same functionality you showed?
@anthonywritescode
@anthonywritescode Жыл бұрын
if you search my channel I've got a video on exactly how the `property` descriptor is implemented
@blendrugova2426
@blendrugova2426 Жыл бұрын
What editor is that?
@elenaromanova2841
@elenaromanova2841 Жыл бұрын
Thank you for video. Would you talk about Hypothesis module in python or PoolManager. I got project from third party where this modules used. Trying to understand how I can utilize it best. Would be cool to hear your input.
@anthonywritescode
@anthonywritescode Жыл бұрын
I've not really worked with either of those
@ahjsbkdjhavkcjhvac
@ahjsbkdjhavkcjhvac Жыл бұрын
very nice, could you share the code in a gist?
@anthonywritescode
@anthonywritescode Жыл бұрын
it'll eventually show up on github.com/anthonywritescode/explains
@gonubada
@gonubada Жыл бұрын
Descriptors are cool 😎
@茱莉-x2o
@茱莉-x2o Жыл бұрын
Hi I'm new to Descriptors and I learned online. Can you help me understand the use case of descriptors? my background is data science. thanks a lot in advance.
@ChristianBrugger
@ChristianBrugger Жыл бұрын
Great video! Thank you.
@DanHartwigMusic
@DanHartwigMusic Жыл бұрын
100th like. Hope you get 1_000_000
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 16 МЛН
Python Poetry for a Noob - Getting started
20:07
Hoplite Security
Рет қаралды 8 М.
python: what is weakref? (intermediate - advanced) anthony explains #366
10:40
Understanding Python: Descriptors
23:42
Jake Callahan
Рет қаралды 6 М.
Python Data Classes Are AMAZING! Here's Why
16:11
Tech With Tim
Рет қаралды 85 М.
8 things in Python you didn't realize are descriptors
14:21
typing the untype-able with mypy plugins (advanced) anthony explains #574
25:06
adding test == others fail??? (intermediate) anthony explains #572
10:40
anthonywritescode
Рет қаралды 4,3 М.