Local mesh size on named boundaries, OCC

Hi, if i have a geometry like this:

shape = (wp.Direction(0, -1)
    .MoveTo(0,0)
    .Line(r_outer - r_inner, "rdirichlet")
    .Direction(-1,0)
    .Arc(r_outer, -1/6 * angle, "r1")
    .Arc(r_outer, -2 /3 * angle, "force")
    .Arc(r_outer, -1/6 * angle, "r2")
    .Rotate(-90)
    .Line(r_outer-r_inner,"ldirichlet")
    .Rotate(-90)
    .Arc(r_inner, angle, "r_inner")
    .Close()
    .Reverse()
    .Face())

Is there a way to make the mesh finer on some parts of the boundary, for example on “r_inner” while using occ? I export this geometry by ngocc.OCCgeometry() and then henerate my mesh.
Thx

shape.edges["r_inner"].maxh=0.1