def inspector(self):
        """
        Return and optionally create an Inspector from self.remote.
        """
        if not self._inspector:
            self._inspector = Inspector(self.remote)

        return self._inspector

        Return and optionally create an Inspector from self.remote.
        
src/gitsweep/tests/testcases.py