🐛 Source Github: add new streams TeamMembers, TeamMemberships (#11893)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
This commit is contained in:
@@ -43,6 +43,8 @@ from .streams import (
|
||||
Reviews,
|
||||
Stargazers,
|
||||
Tags,
|
||||
TeamMembers,
|
||||
TeamMemberships,
|
||||
Teams,
|
||||
Users,
|
||||
WorkflowRuns,
|
||||
@@ -184,6 +186,8 @@ class SourceGithub(AbstractSource):
|
||||
pull_requests_stream = PullRequests(**repository_args_with_start_date)
|
||||
projects_stream = Projects(**repository_args_with_start_date)
|
||||
project_columns_stream = ProjectColumns(projects_stream, **repository_args_with_start_date)
|
||||
teams_stream = Teams(**organization_args)
|
||||
team_members_stream = TeamMembers(parent=teams_stream, **repository_args)
|
||||
|
||||
return [
|
||||
Assignees(**repository_args),
|
||||
@@ -215,8 +219,10 @@ class SourceGithub(AbstractSource):
|
||||
Reviews(parent=pull_requests_stream, **repository_args_with_start_date),
|
||||
Stargazers(**repository_args_with_start_date),
|
||||
Tags(**repository_args),
|
||||
Teams(**organization_args),
|
||||
teams_stream,
|
||||
team_members_stream,
|
||||
Users(**organization_args),
|
||||
Workflows(**repository_args),
|
||||
WorkflowRuns(**repository_args),
|
||||
TeamMemberships(parent=team_members_stream, **repository_args),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user