def get_pure_commits()

in osci/crawlers/github/events/push.py [0:0]


    def get_pure_commits(self) -> Iterator[dict]:
        commits = self.payload.get('commits')
        if commits:
            for commit in commits:
                author = commit.get('author')
                lined_commit = commit.copy()
                if author:
                    lined_commit['author_name'] = author.get('name')
                    lined_commit['author_email'] = author.get('email')
                yield lined_commit