👥 Update LangChain people data (#17900)

👥 Update LangChain people data

---------

Co-authored-by: github-actions <github-actions@github.com>
pull/17879/head
Jacob Lee 3 months ago committed by GitHub
parent 762f49162a
commit 375051a64e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -113,6 +113,9 @@ query Q($after: String) {
login login
avatarUrl avatarUrl
url url
... on User {
twitterUsername
}
} }
title title
createdAt createdAt
@ -123,6 +126,9 @@ query Q($after: String) {
login login
avatarUrl avatarUrl
url url
... on User {
twitterUsername
}
} }
state state
} }
@ -139,6 +145,7 @@ class Author(BaseModel):
login: str login: str
avatarUrl: str avatarUrl: str
url: str url: str
twitterUsername: Union[str, None] = None
# Issues and Discussions # Issues and Discussions
@ -501,6 +508,7 @@ def get_top_users(
"login": commentor, "login": commentor,
"count": count, "count": count,
"avatarUrl": author.avatarUrl, "avatarUrl": author.avatarUrl,
"twitterUsername": author.twitterUsername,
"url": author.url, "url": author.url,
} }
) )
@ -550,6 +558,7 @@ if __name__ == "__main__":
"login": login, "login": login,
"count": contributors[login], #+ question_commentors[login], "count": contributors[login], #+ question_commentors[login],
"avatarUrl": user.avatarUrl, "avatarUrl": user.avatarUrl,
"twitterUsername": user.twitterUsername,
"url": user.url, "url": user.url,
} }
) )

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save