

def upload_artifacts_to_new_staging(self, local_artifacts, repo_id, print_created_artifacts=True, description='No description', upload_filelist=False):
    '\n        Creates a staging repository in staging profile with name repo_id and uploads local_artifacts there.\n\n        :param local_artifacts: list[LocalArtifact]\n        :param repo_id: name of target repository\n        :param print_created_artifacts: if True prints to stdout what was uploaded and where\n        :param description: description of staging repo\n        :param upload_filelist: see upload_artifacts_to_staging\n\n        :return: list[RemoteArtifact]\n        '
    repo_id = self.create_staging_repo(repo_id, description)
    remote_artifacts = self.upload_artifacts_to_staging(local_artifacts, repo_id, print_created_artifacts, upload_filelist)
    self.close_staging_repo(repo_id)
    return remote_artifacts

dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py NexusProRepositoryClient.upload_artifacts_to_new_staging/original