From 710583bb956c75f536179d58d1d96add2d0f5323 Mon Sep 17 00:00:00 2001 From: Stewie Date: Sat, 21 May 2022 23:12:01 -0400 Subject: [PATCH] Adding function to convert the PRs infos to message text for the temail --- RepoFunctions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RepoFunctions.py b/RepoFunctions.py index ebe8392..3c0deea 100644 --- a/RepoFunctions.py +++ b/RepoFunctions.py @@ -47,3 +47,10 @@ def get_pull_requests(org, repo_name): top5_infos = pd.DataFrame([ [ele['created_at'], ele['title'], ele['state'], ele['user']['login'], ele['url']] for ele in top5], columns = ['Created', 'Title', 'Status', 'User', 'Url']) +def get_pull_requests_message(org, repo_name): + + #Get Datas + get_pull_requests(org, repo_name) + + + \ No newline at end of file