Skip to content

Commit

Permalink
πŸ‘₯ Update LangChain people data (langchain-ai#17900)
Browse files Browse the repository at this point in the history
πŸ‘₯ Update LangChain people data

---------

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
2 people authored and al1p-R committed Feb 27, 2024
1 parent 5b563a9 commit fa940a6
Show file tree
Hide file tree
Showing 2 changed files with 682 additions and 55 deletions.
9 changes: 9 additions & 0 deletions .github/actions/people/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
login
avatarUrl
url
... on User {
twitterUsername
}
}
title
createdAt
Expand All @@ -123,6 +126,9 @@
login
avatarUrl
url
... on User {
twitterUsername
}
}
state
}
Expand All @@ -139,6 +145,7 @@ class Author(BaseModel):
login: str
avatarUrl: str
url: str
twitterUsername: Union[str, None] = None


# Issues and Discussions
Expand Down Expand Up @@ -501,6 +508,7 @@ def get_top_users(
"login": commentor,
"count": count,
"avatarUrl": author.avatarUrl,
"twitterUsername": author.twitterUsername,
"url": author.url,
}
)
Expand Down Expand Up @@ -550,6 +558,7 @@ def get_top_users(
"login": login,
"count": contributors[login], #+ question_commentors[login],
"avatarUrl": user.avatarUrl,
"twitterUsername": user.twitterUsername,
"url": user.url,
}
)
Expand Down

0 comments on commit fa940a6

Please sign in to comment.