Below is my script for setting up my object shading, but I am not able to set the mesh to shade smooth. I would like to do this in the most performant way.
import bpy
from math import math
for obj in bpy.data.objects:
if obj.type=='MESH':
obj.data.use_auto_smooth = True
obj.data.auto_smooth_angle = radians(180)
obj.use_smooth = True
#obj.ops.mesh.faces_shade_smooth()`enter code here`