

def resolve_artifact(self, remote_artifact):
    data = self._send_json('service/local/artifact/maven/resolve', params=dict(g=remote_artifact.group, a=remote_artifact.artifact, v=remote_artifact.version, r=remote_artifact.repo_id, c=remote_artifact.classifier, e=self.extension))['data']
    remote_artifact.url = '{repository_url}/content/repositories/{repo}/{artifact_path}'.format(repository_url=self._repository_url, repo=remote_artifact.repo_id, artifact_path=data['repositoryPath'])

dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py NexusRepositoryClient.resolve_artifact/VarMisuse@56/84 `remote_artifact`->`self`