BRepClass_FaceExplorer.CurrentEdge - TypeError for Orientation

Forums: 

I am having trouble invoking the method to get the handle and orientation of the current edge of a face. I did this

from OCC.Core.BRepClass import BRepClass_FaceExplorer
from OCC.Core.BRepClass import BRepClass_Edge
from OCC.Core.TopAbs import TopAbs_Orientation

facetopo = BRepClass_FaceExplorer(face)

facetopo.InitWires()  # get ready to explore wires/loops of this face
while (facetopo.MoreWires()):
#    loop = facetopo.CurrentWire()  # SOMEHOW THIS IS MISSING

  edge = BRepClass_Edge()
  edir = TopAbs_Orientation(TopAbs_Orientation.TopAbs_FORWARD)

  facetopo.InitEdges()
  while (facetopo.MoreEdges()):
    facetopo.CurrentEdge(edge, edir)  # <------------- I GET A TypeError FOR edir 
    facetopo.NextEdge()

  facetopo.NextWire()

What am I doing wrong in the call for facetopo.CurrentEdge? How should I send in a TopAbs_Orientation parameter

Thanks