def _canonical_int(self, interface):
        """Expose the helper function within this class."""
        if self.use_canonical_interface is True:
            return napalm.base.helpers.canonical_interface_name(
                interface, addl_name_map=None
            )
        else:
            return interface
def _canonical_int ( self , interface ) : if self . use_canonical_interface is True : return napalm . base . helpers . canonical_interface_name ( interface , addl_name_map = None ) else : return interface
Expose the helper function within this class.