code: def get_snapshots(self,**kwargs):
          
          commits = self.repository.get_commits(**kwargs)
          snapshots = []
          for commit in commits:
              for key in ('committer_date','author_date'):
                  commit[key] = datetime.datetime.fromtimestamp(commit[key+'_ts'])
              snapshot = GitSnapshot(commit)
              hasher = Hasher()
              hasher.add(snapshot.sha)
              snapshot.hash = hasher.digest.hexdigest()
              snapshot.project = self.project
              snapshot.pk = uuid.uuid4().hex
              snapshots.append(snapshot)
          return snapshots
docs: Returns a list of snapshots in a given repository.