Blender 2.8, API, select_set( action = "SELECT") TypeError
The answer is:

bpy.context.object.select_set( state = True, view_layer = None)


That's the right syntax in Blender 2.8 Beta to the date, apparently the WIKI is not updated