[Solved] Clear "Visibility->show in renders" flag for an object in 2.80

Good afternoon

Browsing through the 2.80 API I couldn’t find any function that sets/clears the Visibility->Show in Renders flag which can be set in the object property tab in the outliner…

Only function I’ve found is the “bpy.ops.object.hide_render_clear_all()”…which probably sets this flag…

Added: Anyway…found it…object needs the hide_render set to True (o;