opal_common/git/repo_cloner.py
async def clone(self) -> CloneResult:
        """
        initializes a git.Repo and returns the clone result.
        it either:
            - does not found a cloned repo locally and clones from remote url
            - finds a cloned repo locally and does not clone from remote.
        """
        logger.info("Cloning repo from '{url}' to '{to_path}' (branch: '{branch}')", url=self.url, to_path=self.path, branch=self.branch_name)
        loop = asyncio.get_running_loop()
        return await loop.run_in_executor(None, self._attempt_clone_from_url)

        initializes a git.Repo and returns the clone result.
        it either:
            - does not found a cloned repo locally and clones from remote url
            - finds a cloned repo locally and does not clone from remote.
        
initializes a git.Repo and returns the clone result.
it either:
does not found a cloned repo locally and clones from remote url
finds a cloned repo locally and does not clone from remote.
initializes a git . Repo and returns the clone result . it either : does not found a cloned repo locally and clones from remote url finds a cloned repo locally and does not clone from remote .
async def clone(self) -> CloneResult:
        logger.info("Cloning repo from '{url}' to '{to_path}' (branch: '{branch}')", url=self.url, to_path=self.path, branch=self.branch_name)
        loop = asyncio.get_running_loop()
        return await loop.run_in_executor(None, self._attempt_clone_from_url)
async def clone ( self ) -> CloneResult : logger . info ( "Cloning repo from '{url}' to '{to_path}' (branch: '{branch}')" , url = self . url , to_path = self . path , branch = self . branch_name ) loop = asyncio . get_running_loop ( ) return await loop . run_in_executor ( None , self . _attempt_clone_from_url )
initializes a git.Repo and returns the clone result.
initializes a git . Repo and returns the clone result .
"""
        initializes a git.Repo and returns the clone result.
        it either:
            - does not found a cloned repo locally and clones from remote url
            - finds a cloned repo locally and does not clone from remote.
        """
self