set_attribute method

On this page

set_attribute

Adds the attribute.

def set_attribute(self, attribute, value):
    ...
Parameter Type Description
attribute str Attribute key.
value str Attribute value.

See Also

On this page