def METHOD_NAME(
    self, repo=None, namespace=None, is_fork=False, **kwargs
) -> "GitlabProject":
    if is_fork:
        namespace = self.user.get_username()
    return GitlabProject(repo=repo, namespace=namespace, service=self, **kwargs)