https://pulumi.com logo
#python
Title
# python
m

microscopic-pilot-97530

08/28/2020, 8:31 PM
@steep-alligator-79173, you’ll need to do something like the following, per @green-school-95910:
Copy code
def function_that_receives_the_id(repo_id):
    print(f"<https://gitlab.com/api/v4/projects/{repo_id}/environments>")
    requests.get("<https://gitlab.com>")
    return repo_id

repo_id = gitlab_repo.id.apply(function_that_receives_the_id)