

def upload_artifacts(self, local_artifacts, repo_id, print_created_artifacts=True, _hostname_for_download=None, _path_prefix='content/repositories'):
    '\n        Uploads artifacts to repository.\n\n        :param local_artifacts: list[LocalArtifact]\n        :param repo_id: id of target repository\n        :param print_created_artifacts: if True prints to stdout what was uploaded and where\n        :return: list[RemoteArtifact]\n        '
    remote_artifacts = []
    for local_artifact in local_artifacts:
        remote_artifact = self._upload_artifact(local_artifact=local_artifact, path_prefix=_path_prefix, repo_id=repo_id, hostname_for_download=_hostname_for_download)
        remote_artifacts.append(remote_artifact)
    if print_created_artifacts:
        NexusRepositoryClient._print_created_artifacts(remote_artifacts, repo_id)
    return remote_artifacts

dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py NexusRepositoryClient.upload_artifacts/original