Advance Python Programming How to write Decorator @log with Metaclasses and __call__ #10

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Good video. Thanks for turning off the music. It was too loud and distracting.

BrannenTaylor
Автор

After fixing code, methodA(), didnt take self, you made it as static, what is the purpose of using metaclass in first place? please check.

sreekarjogiparthi
Автор

everything is going good but I think source code also provided. git link or text

Cricin_Chill
Автор

Hey Soumil, thanks for such informative videos.
It's really a pleasure to learn such advanced topics on your channel.
Just keep making great videos on advanced topics. People will end up here sooner or later.
I just found that we do not need to use `metaclass` in `Test` class
just need to use this statement instead `tem = self.func(self, *args, **kwargs)`. The `self` was missing while calling the function in `log` class.

papunmohanty
Автор

how can i use any instance variable in methodA

bhushanjogdand