Choose the drawn edges

Hello, i would like to know if it was possible to imitate the behavior of the operator ‘object.show_all_edges’ with Python ?

By default this operator seems use a angle, but the result isn’t very convincing :confused:, and most of time i check this box when wire is checked. I was thinking to a marking like with sharp edges or freestyle, but i haven’t found a vertex/edge property for draw or not. Any idea ?