get_attr Method

Returns the value of the specified attribute.

Syntax

def get_attr(attr_name: str) -> str: ...

Remarks

This method returns the value of the attribute specified by the AttrName parameter.

If the attribute does not exist an empty string is returned. The behavior when an attribute does not exit is controlled by ErrorOnEmptyAttr.

Please refer to the attr_name, attr_namespace, attr_prefix, and attr_value properties for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]