How can I get the name of the current __package__ of the subclass in the base class in Python3?

前端 未结 0 606
余生分开走
余生分开走 2021-02-19 05:02

I have a base class BaseConsumer, in package common, that initializes logging as follows:

common/base.py:

class          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题