opal_common/sources/git_policy_source.py
async def check_for_changes(self):
        """
        Calling this method will trigger a git pull from the tracked remote.
        If after the pull the watcher detects new commits, it will call the
        callbacks registered with _on_new_policy().
        """
        logger.info("Pulling changes from remote: '{remote}'", remote=self._tracker.tracked_remote.name)
        has_changes, prev, latest = self._tracker.pull()
        if not has_changes:
            logger.info("No new commits: HEAD is at '{head}'", head=latest.hexsha)
        else:
            logger.info("Found new commits: old HEAD was '{prev_head}', new HEAD is '{new_head}'",
                        prev_head=prev.hexsha, new_head=latest.hexsha)
            await self._on_new_policy(old=prev, new=latest)

        Calling this method will trigger a git pull from the tracked remote.
        If after the pull the watcher detects new commits, it will call the
        callbacks registered with _on_new_policy().
        
Calling this method will trigger a git pull from the tracked remote.
If after the pull the watcher detects new commits, it will call the
callbacks registered with _on_new_policy().
Calling this method will trigger a git pull from the tracked remote . If after the pull the watcher detects new commits it will call the callbacks registered with _on_new_policy () .
async def check_for_changes(self):
        logger.info("Pulling changes from remote: '{remote}'", remote=self._tracker.tracked_remote.name)
        has_changes, prev, latest = self._tracker.pull()
        if not has_changes:
            logger.info("No new commits: HEAD is at '{head}'", head=latest.hexsha)
        else:
            logger.info("Found new commits: old HEAD was '{prev_head}', new HEAD is '{new_head}'",
                        prev_head=prev.hexsha, new_head=latest.hexsha)
            await self._on_new_policy(old=prev, new=latest)
async def check_for_changes ( self ) : logger . info ( "Pulling changes from remote: '{remote}'" , remote = self . _tracker . tracked_remote . name ) has_changes , prev , latest = self . _tracker . pull ( ) if not has_changes : logger . info ( "No new commits: HEAD is at '{head}'" , head = latest . hexsha ) else : logger . info ( "Found new commits: old HEAD was '{prev_head}', new HEAD is '{new_head}'" , prev_head = prev . hexsha , new_head = latest . hexsha ) await self . _on_new_policy ( old = prev , new = latest )
Calling this method will trigger a git pull from the tracked remote.
Calling this method will trigger a git pull from the tracked remote .
"""
        Calling this method will trigger a git pull from the tracked remote.
        If after the pull the watcher detects new commits, it will call the
        callbacks registered with _on_new_policy().
        """
self