Тёмный

python descriptors! (advanced) anthony explains  

anthonywritescode
Подписаться 42 тыс.
Просмотров 17 тыс.
50% 1

today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example!
playlist: • anthony explains
==========
twitch: / anthonywritescode
dicsord: / discord
twitter: / codewithanthony
github: github.com/aso...
stream github: github.com/ant...
I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@luabida
@luabida Год назад
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 ?
@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!
@expirytrader5802
@expirytrader5802 Год назад
Much awaited video from you. Thanks adding this one
@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 Месяц назад
You're right!
@ВалерийГазаров-я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
@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?
@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
@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
@blendrugova2426
@blendrugova2426 Год назад
What editor is that?
@ahjsbkdjhavkcjhvac
@ahjsbkdjhavkcjhvac Год назад
very nice, could you share the code in a gist?
@anthonywritescode
@anthonywritescode Год назад
it'll eventually show up on github.com/anthonywritescode/explains
@ChristianBrugger
@ChristianBrugger Год назад
Great video! Thank you.
@DanHartwigMusic
@DanHartwigMusic Год назад
100th like. Hope you get 1_000_000
@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.
Далее
Гаджет из даркнета 📦
00:45
Просмотров 80 тыс.
Avoid These BAD Practices in Python OOP
24:42
Просмотров 66 тыс.
Understanding Python: Descriptors
23:42
Просмотров 6 тыс.
8 things in Python you didn't realize are descriptors
14:21
Bitwise Operators: Implementation in C
16:28
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 811 тыс.
Protocol Or ABC In Python - When to Use Which One?
23:45