class ParentClass:
def print_child_class_name(self):
print('how to find print the child class name here')
class ChildClass1(ParentClass):
pass
class ChildClass2(ParentClass):
pass
child_1 = ChildClass1()
child_2 = ChildClass2()
child_1.print_child_class_name()
child_2.print_child_class_name()
Run Code Online (Sandbox Code Playgroud) 如何设置 twilio python 包的日志记录级别。我的脚本有一个日志配置来将所有日志定向到一个文件。我想限制 twilio 只记录警告。
谢谢