| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f59aee3 commit 4e68d32
47 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | 14 | class BackendResponse(Protocol): | |
| 15 | 15 | @abc.abstractmethod | |
| 16 | - def __init__(self, response: requests.Response) -> None: | ||
| 17 | - ... | ||
| 16 | + def __init__(self, response: requests.Response) -> None: ... | ||
| 18 | 17 | ||
| 19 | 18 | ||
| 20 | 19 | class Backend(Protocol): | |
@@ -30,5 +29,4 @@ def http_request( | |||
| 30 | 29 | verify: Optional[Union[bool, str]], | |
| 31 | 30 | stream: Optional[bool], | |
| 32 | 31 | **kwargs: Any, | |
| 33 | - ) -> BackendResponse: | ||
| 34 | - ... | ||
| 32 | + ) -> BackendResponse: ... | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,6 @@ | |||
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | 42 | class Gitlab: | |
| 43 | - | ||
| 44 | 43 | """Represents a GitLab server connection. | |
| 45 | 44 | ||
| 46 | 45 | Args: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/job_artifacts.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import Any, Callable, Iterator, Optional, TYPE_CHECKING, Union | |
| 6 | 7 | ||
| 7 | 8 | import requests | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/audit_events.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import Any, cast, Union | |
| 6 | 7 | ||
| 7 | 8 | from gitlab.base import RESTManager, RESTObject | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/deployments.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import Any, cast, Dict, Optional, TYPE_CHECKING, Union | |
| 6 | 7 | ||
| 7 | 8 | from gitlab import cli | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/features.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import Any, Optional, TYPE_CHECKING, Union | |
| 6 | 7 | ||
| 7 | 8 | from gitlab import exceptions as exc | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ | |||
| 3 | 3 | https://docs.gitlab.com/ee/api/merge_requests.html | |
| 4 | 4 | https://docs.gitlab.com/ee/api/merge_request_approvals.html | |
| 5 | 5 | """ | |
| 6 | + | ||
| 6 | 7 | from typing import Any, cast, Dict, Optional, TYPE_CHECKING, Union | |
| 7 | 8 | ||
| 8 | 9 | import requests | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/projects.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import ( | |
| 6 | 7 | Any, | |
| 7 | 8 | Callable, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | Currently this module only contains repository-related methods for projects. | |
| 5 | 5 | """ | |
| 6 | + | ||
| 6 | 7 | from typing import Any, Callable, Dict, Iterator, List, Optional, TYPE_CHECKING, Union | |
| 7 | 8 | ||
| 8 | 9 | import requests | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | GitLab API: | |
| 3 | 3 | https://docs.gitlab.com/ee/api/secure_files.html | |
| 4 | 4 | """ | |
| 5 | + | ||
| 5 | 6 | from typing import Any, Callable, cast, Iterator, Optional, TYPE_CHECKING, Union | |
| 6 | 7 | ||
| 7 | 8 | import requests | |
| Back | FazBrowse Home | New Git URL |
0 commit comments