The showShadingGroupAttrEditor command opens up the attribute editor for the current object’s shading-group information.
Derived from mel command maya.cmds.showShadingGroupAttrEditor
Example:
import pymel.core as pm
pm.showShadingGroupAttrEditor()