| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,7 +75,7 @@ the following parameters: | |||
| 75 | 75 | ||
| 76 | 76 | With GitLab 12.9, even though ``username`` and ``expires_at`` are not required, they always have to be passed to the API. | |
| 77 | 77 | You can set them to empty strings, see: https://gitlab.com/gitlab-org/gitlab/-/issues/211878. | |
| 78 | - Also, the ``username``'s value is ignored by the API and will be overriden with ``gitlab+deploy-token-{n}``, | ||
| 78 | + Also, the ``username``'s value is ignored by the API and will be overridden with ``gitlab+deploy-token-{n}``, | ||
| 79 | 79 | see: https://gitlab.com/gitlab-org/gitlab/-/issues/211963 | |
| 80 | 80 | These issues were fixed in GitLab 12.10. | |
| 81 | 81 | ||
@@ -125,7 +125,7 @@ the following parameters: | |||
| 125 | 125 | ||
| 126 | 126 | With GitLab 12.9, even though ``username`` and ``expires_at`` are not required, they always have to be passed to the API. | |
| 127 | 127 | You can set them to empty strings, see: https://gitlab.com/gitlab-org/gitlab/-/issues/211878. | |
| 128 | - Also, the ``username``'s value is ignored by the API and will be overriden with ``gitlab+deploy-token-{n}``, | ||
| 128 | + Also, the ``username``'s value is ignored by the API and will be overridden with ``gitlab+deploy-token-{n}``, | ||
| 129 | 129 | see: https://gitlab.com/gitlab-org/gitlab/-/issues/211963 | |
| 130 | 130 | These issues were fixed in GitLab 12.10. | |
| 131 | 131 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -192,7 +192,7 @@ class RESTObjectList(object): | |||
| 192 | 192 | This generator uses the Gitlab pagination system to fetch new data when | |
| 193 | 193 | required. | |
| 194 | 194 | ||
| 195 | - Note: you should not instanciate such objects, they are returned by calls | ||
| 195 | + Note: you should not instantiate such objects, they are returned by calls | ||
| 196 | 196 | to RESTManager.list() | |
| 197 | 197 | ||
| 198 | 198 | Args: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -439,7 +439,7 @@ def set(self, key: str, value: str, **kwargs: Any) -> base.RESTObject: | |||
| 439 | 439 | ||
| 440 | 440 | Raises: | |
| 441 | 441 | GitlabAuthenticationError: If authentication is not correct | |
| 442 | - GitlabSetError: If an error occured | ||
| 442 | + GitlabSetError: If an error occurred | ||
| 443 | 443 | ||
| 444 | 444 | Returns: | |
| 445 | 445 | obj: The created/updated attribute | |
@@ -661,7 +661,7 @@ def download( | |||
| 661 | 661 | Args: | |
| 662 | 662 | streamed (bool): If True the data will be processed by chunks of | |
| 663 | 663 | `chunk_size` and each chunk is passed to `action` for | |
| 664 | - reatment | ||
| 664 | + treatment | ||
| 665 | 665 | action (callable): Callable responsible of dealing with chunk of | |
| 666 | 666 | data | |
| 667 | 667 | chunk_size (int): Size of each chunk | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,7 +41,7 @@ def set( | |||
| 41 | 41 | ||
| 42 | 42 | Raises: | |
| 43 | 43 | GitlabAuthenticationError: If authentication is not correct | |
| 44 | - GitlabSetError: If an error occured | ||
| 44 | + GitlabSetError: If an error occurred | ||
| 45 | 45 | ||
| 46 | 46 | Returns: | |
| 47 | 47 | obj: The created/updated attribute | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,7 +83,7 @@ def transfer_project(self, project_id, **kwargs): | |||
| 83 | 83 | ||
| 84 | 84 | Raises: | |
| 85 | 85 | GitlabAuthenticationError: If authentication is not correct | |
| 86 | - GitlabTransferProjectError: If the project could not be transfered | ||
| 86 | + GitlabTransferProjectError: If the project could not be transferred | ||
| 87 | 87 | """ | |
| 88 | 88 | path = "/groups/%s/projects/%s" % (self.id, project_id) | |
| 89 | 89 | self.manager.gitlab.http_post(path, **kwargs) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -105,7 +105,7 @@ def download( | |||
| 105 | 105 | file_name (str): The name of the file in the registry | |
| 106 | 106 | streamed (bool): If True the data will be processed by chunks of | |
| 107 | 107 | `chunk_size` and each chunk is passed to `action` for | |
| 108 | - reatment | ||
| 108 | + treatment | ||
| 109 | 109 | action (callable): Callable responsible of dealing with chunk of | |
| 110 | 110 | data | |
| 111 | 111 | chunk_size (int): Size of each chunk | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -515,7 +515,7 @@ def transfer_project(self, to_namespace: str, **kwargs: Any) -> None: | |||
| 515 | 515 | ||
| 516 | 516 | Raises: | |
| 517 | 517 | GitlabAuthenticationError: If authentication is not correct | |
| 518 | - GitlabTransferProjectError: If the project could not be transfered | ||
| 518 | + GitlabTransferProjectError: If the project could not be transferred | ||
| 519 | 519 | """ | |
| 520 | 520 | path = "/projects/%s/transfer" % (self.id,) | |
| 521 | 521 | self.manager.gitlab.http_put( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,14 +10,14 @@ | |||
| 10 | 10 | class SidekiqManager(RESTManager): | |
| 11 | 11 | """Manager for the Sidekiq methods. | |
| 12 | 12 | ||
| 13 | - This manager doesn't actually manage objects but provides helper fonction | ||
| 13 | + This manager doesn't actually manage objects but provides helper function | ||
| 14 | 14 | for the sidekiq metrics API. | |
| 15 | 15 | """ | |
| 16 | 16 | ||
| 17 | 17 | @cli.register_custom_action("SidekiqManager") | |
| 18 | 18 | @exc.on_http_error(exc.GitlabGetError) | |
| 19 | 19 | def queue_metrics(self, **kwargs): | |
| 20 | - """Return the registred queues information. | ||
| 20 | + """Return the registered queues information. | ||
| 21 | 21 | ||
| 22 | 22 | Args: | |
| 23 | 23 | **kwargs: Extra options to send to the server (e.g. sudo) | |
@@ -34,7 +34,7 @@ def queue_metrics(self, **kwargs): | |||
| 34 | 34 | @cli.register_custom_action("SidekiqManager") | |
| 35 | 35 | @exc.on_http_error(exc.GitlabGetError) | |
| 36 | 36 | def process_metrics(self, **kwargs): | |
| 37 | - """Return the registred sidekiq workers. | ||
| 37 | + """Return the registered sidekiq workers. | ||
| 38 | 38 | ||
| 39 | 39 | Args: | |
| 40 | 40 | **kwargs: Extra options to send to the server (e.g. sudo) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,6 +45,6 @@ def mark_all_as_done(self, **kwargs): | |||
| 45 | 45 | GitlabTodoError: If the server failed to perform the request | |
| 46 | 46 | ||
| 47 | 47 | Returns: | |
| 48 | - int: The number of todos maked done | ||
| 48 | + int: The number of todos marked done | ||
| 49 | 49 | """ | |
| 50 | 50 | self.gitlab.http_post("/todos/mark_as_done", **kwargs) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments