Are there benefits to using one over the other: isinstance vs. _meta.label in Python?

后端 未结 0 1467
南笙
南笙 2021-01-27 23:20

Say a method can be applied to different models and need to know which one I am dealing with. I see two good options for comparison of object type and am wondering if there are

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