| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,6 +18,13 @@ | |||
| 18 | 18 | import importlib | |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | + __all__ = [ | ||
| 22 | + "RESTObject", | ||
| 23 | + "RESTObjectList", | ||
| 24 | + "RESTManager", | ||
| 25 | + ] | ||
| 26 | + | ||
| 27 | + | ||
| 21 | 28 | class RESTObject(object): | |
| 22 | 29 | """Represents an object built from server data. | |
| 23 | 30 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,31 @@ | |||
| 23 | 23 | from gitlab import utils | |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | + __all__ = [ | ||
| 27 | + "GetMixin", | ||
| 28 | + "GetWithoutIdMixin", | ||
| 29 | + "RefreshMixin", | ||
| 30 | + "ListMixin", | ||
| 31 | + "RetrieveMixin", | ||
| 32 | + "CreateMixin", | ||
| 33 | + "UpdateMixin", | ||
| 34 | + "SetMixin", | ||
| 35 | + "DeleteMixin", | ||
| 36 | + "CRUDMixin", | ||
| 37 | + "NoUpdateMixin", | ||
| 38 | + "SaveMixin", | ||
| 39 | + "ObjectDeleteMixin", | ||
| 40 | + "UserAgentDetailMixin", | ||
| 41 | + "AccessRequestMixin", | ||
| 42 | + "DownloadMixin", | ||
| 43 | + "SubscribableMixin", | ||
| 44 | + "TodoMixin", | ||
| 45 | + "TimeTrackingMixin", | ||
| 46 | + "ParticipantsMixin", | ||
| 47 | + "BadgeRenderMixin", | ||
| 48 | + ] | ||
| 49 | + | ||
| 50 | + | ||
| 26 | 51 | class GetMixin(object): | |
| 27 | 52 | @exc.on_http_error(exc.GitlabGetError) | |
| 28 | 53 | def get(self, id, lazy=False, **kwargs): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,14 @@ | |||
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | + __all__ = [ | ||
| 6 | + "GroupAccessRequest", | ||
| 7 | + "GroupAccessRequestManager", | ||
| 8 | + "ProjectAccessRequest", | ||
| 9 | + "ProjectAccessRequestManager", | ||
| 10 | + ] | ||
| 11 | + | ||
| 12 | + | ||
| 5 | 13 | class GroupAccessRequest(AccessRequestMixin, ObjectDeleteMixin, RESTObject): | |
| 6 | 14 | pass | |
| 7 | 15 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,12 @@ | |||
| 3 | 3 | from gitlab.mixins import * # noqa | |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | + __all__ = [ | ||
| 7 | + "ApplicationAppearance", | ||
| 8 | + "ApplicationAppearanceManager", | ||
| 9 | + ] | ||
| 10 | + | ||
| 11 | + | ||
| 6 | 12 | class ApplicationAppearance(SaveMixin, RESTObject): | |
| 7 | 13 | _id_attr = None | |
| 8 | 14 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,11 @@ | |||
| 1 | 1 | from gitlab.base import * # noqa | |
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | + __all__ = [ | ||
| 5 | + "Application", | ||
| 6 | + "ApplicationManager", | ||
| 7 | + ] | ||
| 8 | + | ||
| 4 | 9 | ||
| 5 | 10 | class Application(ObjectDeleteMixin, RESTObject): | |
| 6 | 11 | _url = "/applications" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,22 @@ | |||
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | + __all__ = [ | ||
| 6 | + "ProjectIssueAwardEmoji", | ||
| 7 | + "ProjectIssueAwardEmojiManager", | ||
| 8 | + "ProjectIssueNoteAwardEmoji", | ||
| 9 | + "ProjectIssueNoteAwardEmojiManager", | ||
| 10 | + "ProjectMergeRequestAwardEmoji", | ||
| 11 | + "ProjectMergeRequestAwardEmojiManager", | ||
| 12 | + "ProjectMergeRequestNoteAwardEmoji", | ||
| 13 | + "ProjectMergeRequestNoteAwardEmojiManager", | ||
| 14 | + "ProjectSnippetAwardEmoji", | ||
| 15 | + "ProjectSnippetAwardEmojiManager", | ||
| 16 | + "ProjectSnippetNoteAwardEmoji", | ||
| 17 | + "ProjectSnippetNoteAwardEmojiManager", | ||
| 18 | + ] | ||
| 19 | + | ||
| 20 | + | ||
| 5 | 21 | class ProjectIssueAwardEmoji(ObjectDeleteMixin, RESTObject): | |
| 6 | 22 | pass | |
| 7 | 23 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,14 @@ | |||
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | + __all__ = [ | ||
| 6 | + "GroupBadge", | ||
| 7 | + "GroupBadgeManager", | ||
| 8 | + "ProjectBadge", | ||
| 9 | + "ProjectBadgeManager", | ||
| 10 | + ] | ||
| 11 | + | ||
| 12 | + | ||
| 5 | 13 | class GroupBadge(SaveMixin, ObjectDeleteMixin, RESTObject): | |
| 6 | 14 | pass | |
| 7 | 15 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,18 @@ | |||
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | + __all__ = [ | ||
| 6 | + "GroupBoardList", | ||
| 7 | + "GroupBoardListManager", | ||
| 8 | + "GroupBoard", | ||
| 9 | + "GroupBoardManager", | ||
| 10 | + "ProjectBoardList", | ||
| 11 | + "ProjectBoardListManager", | ||
| 12 | + "ProjectBoard", | ||
| 13 | + "ProjectBoardManager", | ||
| 14 | + ] | ||
| 15 | + | ||
| 16 | + | ||
| 5 | 17 | class GroupBoardList(SaveMixin, ObjectDeleteMixin, RESTObject): | |
| 6 | 18 | pass | |
| 7 | 19 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,14 @@ | |||
| 4 | 4 | from gitlab.mixins import * # noqa | |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | + __all__ = [ | ||
| 8 | + "ProjectBranch", | ||
| 9 | + "ProjectBranchManager", | ||
| 10 | + "ProjectProtectedBranch", | ||
| 11 | + "ProjectProtectedBranchManager", | ||
| 12 | + ] | ||
| 13 | + | ||
| 14 | + | ||
| 7 | 15 | class ProjectBranch(ObjectDeleteMixin, RESTObject): | |
| 8 | 16 | _id_attr = "name" | |
| 9 | 17 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,12 @@ | |||
| 2 | 2 | from gitlab.mixins import * # noqa | |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | + __all__ = [ | ||
| 6 | + "BroadcastMessage", | ||
| 7 | + "BroadcastMessageManager", | ||
| 8 | + ] | ||
| 9 | + | ||
| 10 | + | ||
| 5 | 11 | class BroadcastMessage(SaveMixin, ObjectDeleteMixin, RESTObject): | |
| 6 | 12 | pass | |
| 7 | 13 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments