mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
* Expand Topic class and add test coverage * Add test coverage for Topic properties * Fix misspelling in comment
233 lines
7.7 KiB
Python
233 lines
7.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
############################ Copyrights and license ############################
|
|
# #
|
|
# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2012 Zearin <zearin@gonk.net> #
|
|
# Copyright 2013 AKFish <akfish@gmail.com> #
|
|
# Copyright 2013 David Farr <david.farr@sap.com> #
|
|
# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2014 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2015 Ed Holland <eholland@alertlogic.com> #
|
|
# Copyright 2016 John Eskew <jeskew@edx.org> #
|
|
# Copyright 2016 Matthew Neal <meneal@matthews-mbp.raleigh.ibm.com> #
|
|
# Copyright 2016 Peter Buckley <dx-pbuckley@users.noreply.github.com> #
|
|
# Copyright 2016 Sam Corbett <sam.corbett@cloudsoftcorp.com> #
|
|
# Copyright 2017 Aaron Levine <allevin@sandia.gov> #
|
|
# Copyright 2017 Nicolas Agustín Torres <nicolastrres@gmail.com> #
|
|
# Copyright 2018 Hayden Fuss <wifu1234@gmail.com> #
|
|
# Copyright 2018 Shinichi TAMURA <shnch.tmr@gmail.com> #
|
|
# Copyright 2018 Steve Kowalik <steven@wedontsleep.org> #
|
|
# Copyright 2018 Wan Liuyang <tsfdye@gmail.com> #
|
|
# Copyright 2018 sfdye <tsfdye@gmail.com> #
|
|
# Copyright 2018 Vinay Hegde <vinayhegde2010@gmail.com>
|
|
# #
|
|
# This file is part of PyGithub. #
|
|
# http://pygithub.readthedocs.io/ #
|
|
# #
|
|
# PyGithub is free software: you can redistribute it and/or modify it under #
|
|
# the terms of the GNU Lesser General Public License as published by the Free #
|
|
# Software Foundation, either version 3 of the License, or (at your option) #
|
|
# any later version. #
|
|
# #
|
|
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY #
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS #
|
|
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more #
|
|
# details. #
|
|
# #
|
|
# You should have received a copy of the GNU Lesser General Public License #
|
|
# along with PyGithub. If not, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
################################################################################
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from .AuthenticatedUser import AuthenticatedUser
|
|
from .Authentication import Authentication
|
|
from .Authorization import Authorization
|
|
from .Branch import Branch
|
|
from .BranchProtection import BranchProtection
|
|
from .Commit import Commit
|
|
from .CommitCombinedStatus import CommitCombinedStatus
|
|
from .CommitComment import CommitComment
|
|
from .CommitStatus import CommitStatus
|
|
from .ContentFile import ContentFile
|
|
from .Download import Download
|
|
from .Event import Event
|
|
from .Gist import Gist
|
|
from .GistComment import GistComment
|
|
from .GitBlob import GitBlob
|
|
from .GitCommit import GitCommit
|
|
from .Github_ import Github
|
|
from .GitRef import GitRef
|
|
from .GitRelease import Release
|
|
from .GitReleaseAsset import ReleaseAsset
|
|
from .GitTag import GitTag
|
|
from .GitTree import GitTree
|
|
from .Hook import Hook
|
|
from .Issue import Issue
|
|
from .IssueComment import IssueComment
|
|
from .Reaction import Reaction
|
|
from .IssueEvent import IssueEvent
|
|
from .License import License
|
|
from .Label import Label
|
|
from .Milestone import Milestone
|
|
from .NamedUser import NamedUser
|
|
from .Markdown import Markdown
|
|
from .Notification import Notification
|
|
from .OrganizationHasInMembers import OrganizationHasInMembers
|
|
from .Organization import Organization
|
|
from .Project import Project
|
|
from .PullRequest import PullRequest
|
|
from .PullRequestComment import PullRequestComment
|
|
from .PullRequestReview import PullRequestReview
|
|
from .PullRequestFile import PullRequestFile
|
|
from .RateLimiting import RateLimiting
|
|
from .Repository import LazyRepository, Repository
|
|
from .RepositoryKey import RepositoryKey
|
|
from .RequiredPullRequestReviews import RequiredPullRequestReviews
|
|
from .RequiredStatusChecks import RequiredStatusChecks
|
|
from .SourceImport import SourceImport
|
|
from .Tag import Tag
|
|
from .Team import Team
|
|
from .Topic import Topic
|
|
from .Traffic import Traffic
|
|
from .UserKey import UserKey
|
|
from .Migration import Migration
|
|
from .GithubIntegration import GithubIntegration
|
|
|
|
from .PaginatedList import PaginatedList
|
|
from .Exceptions import Exceptions, SpecificExceptions
|
|
from .Enterprise import Enterprise
|
|
from .Logging_ import Logging
|
|
from .RawData import RawData
|
|
from .ConditionalRequestUpdate import ConditionalRequestUpdate
|
|
from .Persistence import Persistence
|
|
from .ExposeAllAttributes import ExposeAllAttributes
|
|
from .BadAttributes import BadAttributes
|
|
from .Equality import Equality
|
|
from .Search import Search
|
|
from .Retry import Retry
|
|
|
|
from .Connection import Connection
|
|
|
|
from .Issue33 import Issue33
|
|
from .Issue50 import Issue50
|
|
from .Issue54 import Issue54
|
|
from .Issue80 import Issue80
|
|
from .Issue87 import Issue87
|
|
from .Issue131 import Issue131
|
|
from .Issue133 import Issue133
|
|
from .Issue134 import Issue134
|
|
from .Issue139 import Issue139
|
|
from .Issue140 import Issue140
|
|
from .Issue142 import Issue142
|
|
from .Issue158 import Issue158
|
|
from .Issue174 import Issue174
|
|
from .Issue214 import Issue214
|
|
from .Issue216 import Issue216
|
|
from .Issue278 import Issue278
|
|
from .Issue494 import Issue494
|
|
from .Issue572 import Issue572
|
|
from .Issue937 import Issue937
|
|
from .Issue945 import Issue945
|
|
from .Issue823 import Issue823
|
|
|
|
from .PullRequest1168 import PullRequest1168
|
|
from .PullRequest1169 import PullRequest1169
|
|
|
|
|
|
__all__ = [
|
|
AuthenticatedUser,
|
|
Authentication,
|
|
Authorization,
|
|
BadAttributes,
|
|
Branch,
|
|
BranchProtection,
|
|
Commit,
|
|
CommitCombinedStatus,
|
|
CommitComment,
|
|
CommitStatus,
|
|
ConditionalRequestUpdate,
|
|
Connection,
|
|
ContentFile,
|
|
Download,
|
|
Enterprise,
|
|
Equality,
|
|
Event,
|
|
Exceptions,
|
|
ExposeAllAttributes,
|
|
Gist,
|
|
GistComment,
|
|
GitBlob,
|
|
GitCommit,
|
|
Github,
|
|
GithubIntegration,
|
|
GitRef,
|
|
GitTag,
|
|
GitTree,
|
|
Hook,
|
|
Issue,
|
|
Issue33,
|
|
Issue50,
|
|
Issue54,
|
|
Issue80,
|
|
Issue87,
|
|
Issue131,
|
|
Issue133,
|
|
Issue134,
|
|
Issue139,
|
|
Issue140,
|
|
Issue142,
|
|
Issue158,
|
|
Issue174,
|
|
Issue214,
|
|
Issue216,
|
|
Issue278,
|
|
Issue494,
|
|
Issue572,
|
|
Issue823,
|
|
Issue937,
|
|
Issue945,
|
|
IssueComment,
|
|
IssueEvent,
|
|
LazyRepository,
|
|
Label,
|
|
License,
|
|
Logging,
|
|
Markdown,
|
|
Migration,
|
|
Milestone,
|
|
NamedUser,
|
|
Notification,
|
|
Organization,
|
|
OrganizationHasInMembers,
|
|
PaginatedList,
|
|
Persistence,
|
|
Project,
|
|
PullRequest,
|
|
PullRequest1168,
|
|
PullRequest1169,
|
|
PullRequestComment,
|
|
PullRequestReview,
|
|
PullRequestFile,
|
|
RateLimiting,
|
|
RawData,
|
|
Reaction,
|
|
Release,
|
|
ReleaseAsset,
|
|
Repository,
|
|
RepositoryKey,
|
|
RequiredPullRequestReviews,
|
|
RequiredStatusChecks,
|
|
Retry,
|
|
Search,
|
|
SpecificExceptions,
|
|
SourceImport,
|
|
Tag,
|
|
Team,
|
|
Topic,
|
|
Traffic,
|
|
UserKey,
|
|
]
|