data_shape_from_type

omni.graph.core.data_shape_from_type(attribute_type: omni.graph.core._omni_graph_core.Type, is_gathered: bool = False) Tuple[omni.graph.core._impl.dtypes.Dtype, Union[None, int, Tuple[int, int], Tuple[Tuple[int, int]], Tuple[Tuple[int, int], int], Tuple[int, int, int], Tuple[int, int, Tuple[int, int]]]]

Return the dtype,shape information that corresponds to the given attribute type. For easy testing gather sizes are set to 2 items and array sizes are set to 0 elements. e.g. a gathered bool[] would return a shape of ((0, 0))