Adding function to convert the PRs infos to message text for the temail

This commit is contained in:
Stewie
2022-05-21 23:12:01 -04:00
parent a8d8533174
commit 710583bb95

View File

@@ -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)