3.5.11.2 Python

For this request, we must obtain the server ID object for the server to which we wish to present the repository. If you do not have an ID object for your server populated, refer to Obtaining the server ID.. Here, we assume that the server ID object is named sid:

job=client.service.repositoryPresent(repo_id,sid)
wait_for_job(client,job.id)