parameters: (attrs: Union[ArrayAttr, Sequence[Attribute]])
docstring: Converts the given value to array attribute.
docstring_summary: Converts the given value to array attribute.
docstring_tokens: Converts the given value to array attribute .
function: def _get_array_attr(attrs: Union[ArrayAttr, Sequence[Attribute]]) -> ArrayAttr:
    """Converts the given value to array attribute."""
    if isinstance(attrs, ArrayAttr):
      return attrs
    else:
      return ArrayAttr.get(list(attrs))
function_tokens: def _get_array_attr ( attrs : Union [ ArrayAttr , Sequence [ Attribute ] ] ) -> ArrayAttr : if isinstance ( attrs , ArrayAttr ) : return attrs else : return ArrayAttr . get ( list ( attrs ) )