Skip to content

Commit 0788fe6

Browse files
nejchJohnVillalovos
andcommitted
chore(projects): fix typing for transfer method
Co-authored-by: John Villalovos <john@sodarock.com>
1 parent 259668a commit 0788fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def mirror_pull(self, **kwargs: Any) -> None:
527527

528528
@cli.register_custom_action("Project", ("to_namespace",))
529529
@exc.on_http_error(exc.GitlabTransferProjectError)
530-
def transfer(self, to_namespace: str, **kwargs: Any) -> None:
530+
def transfer(self, to_namespace: Union[int, str], **kwargs: Any) -> None:
531531
"""Transfer a project to the given namespace ID
532532
533533
Args:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy