def upload_artifacts_to_staging(self, local_artifacts, repo_id, print_created_artifacts=True, upload_filelist=False):
        hostname_for_download = self._staging_repository_url
        path_prefix = 'service/local/staging/deployByRepositoryId'

        # upload files
        remote_artifacts = self.upload_artifacts(local_artifacts, repo_id, print_created_artifacts,
                                                 hostname_for_download, path_prefix)

        # upload filelist
        if upload_filelist:
            coord_list = [a.get_coordinates_string() for a in remote_artifacts]
            data = '\n'.join(coord_list)
            remote_path = '{path_prefix}/{repo_id}/{filelist_path}'.format(path_prefix=path_prefix, repo_id=repo_id,
                                                                           filelist_path=self._get_filelist_path(repo_id))
            self._send(remote_path, method='POST', data=data, headers={'Content-Type': 'text/csv'})

        return remote_artifacts
Add a sequence of triples with context
dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py/NexusProRepositoryClient.upload_artifacts_to_staging--crossover with--dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/ConjunctiveGraph.addN