Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small update to Isaac/Andrew Merged Branch #1969

Merged
merged 2 commits into from
Sep 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion augur/tasks/github/messages/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ def retrieve_all_pr_and_issue_messages(repo_git: str, logger) -> None:
# define logger for task
logger.info(f"Collecting github comments for {owner}/{repo}")

# define database task session, that also holds autentication keys the GithubPaginator needs
# url to get issue and pull request comments
url = f"https://api.github.com/repos/{owner}/{repo}/issues/comments"

# define database task session, that also holds authentication keys the GithubPaginator needs
with GithubTaskSession(logger, engine) as session:

# returns an iterable of all issues at this url (this essentially means you can treat the issues variable as a list of the issues)
Expand Down