weight 属性

weight 属性

获取或设置线路的 WeightType

定义:

@property
def weight(self):
    ...
@weight.setter
def weight(self, value):
    ...

也可以看看