added uuid when creating the dataset

This commit is contained in:
Karma Riuk
2025-05-07 10:38:20 +02:00
parent af89051779
commit 36b7dc5c02

View File

@ -1,5 +1,5 @@
from collections import defaultdict from collections import defaultdict
import argparse, os, subprocess, docker import argparse, os, subprocess, docker, uuid
from github.Commit import Commit from github.Commit import Commit
from github.ContentFile import ContentFile from github.ContentFile import ContentFile
from github.PullRequest import PullRequest from github.PullRequest import PullRequest
@ -239,6 +239,7 @@ def process_pull(
entry = DatasetEntry( entry = DatasetEntry(
metadata=Metadata( metadata=Metadata(
uuid.uuid4().hex,
repo.full_name, repo.full_name,
pr.number, pr.number,
pr.title, pr.title,