| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1a2781e commit d6870a9
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -123,6 +123,7 @@ def __init__( | |||
| 123 | 123 | ||
| 124 | 124 | objects = gitlab.v4.objects | |
| 125 | 125 | self._objects = objects | |
| 126 | + self.user: Optional[objects.CurrentUser] = None | ||
| 126 | 127 | ||
| 127 | 128 | self.broadcastmessages = objects.BroadcastMessageManager(self) | |
| 128 | 129 | """See :class:`~gitlab.v4.objects.BroadcastMessageManager`""" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,6 +26,8 @@ | |||
| 26 | 26 | class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject): | |
| 27 | 27 | _id_attr = "file_path" | |
| 28 | 28 | _repr_attr = "file_path" | |
| 29 | + branch: str | ||
| 30 | + commit_message: str | ||
| 29 | 31 | file_path: str | |
| 30 | 32 | manager: "ProjectFileManager" | |
| 31 | 33 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -168,6 +168,8 @@ class ProjectMergeRequestApprovalRule(SaveMixin, ObjectDeleteMixin, RESTObject): | |||
| 168 | 168 | _id_attr = "approval_rule_id" | |
| 169 | 169 | _repr_attr = "approval_rule" | |
| 170 | 170 | id: int | |
| 171 | + approval_rule_id: int | ||
| 172 | + merge_request_iid: int | ||
| 171 | 173 | ||
| 172 | 174 | @exc.on_http_error(exc.GitlabUpdateError) | |
| 173 | 175 | def save(self, **kwargs: Any) -> None: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,7 +49,6 @@ max-line-length = 88 | |||
| 49 | 49 | disable = [ | |
| 50 | 50 | "arguments-differ", | |
| 51 | 51 | "arguments-renamed", | |
| 52 | - "attribute-defined-outside-init", | ||
| 53 | 52 | "broad-except", | |
| 54 | 53 | "cyclic-import", | |
| 55 | 54 | "duplicate-code", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments