mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-24 12:57:48 +02:00
added uuid when creating the dataset
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from collections import defaultdict
|
||||
import argparse, os, subprocess, docker
|
||||
import argparse, os, subprocess, docker, uuid
|
||||
from github.Commit import Commit
|
||||
from github.ContentFile import ContentFile
|
||||
from github.PullRequest import PullRequest
|
||||
@@ -239,6 +239,7 @@ def process_pull(
|
||||
|
||||
entry = DatasetEntry(
|
||||
metadata=Metadata(
|
||||
uuid.uuid4().hex,
|
||||
repo.full_name,
|
||||
pr.number,
|
||||
pr.title,
|
||||
|
Reference in New Issue
Block a user