Let’s assume we want to list all the variables for a project:
- Using an API call, we would use this:
- Using the Python-GitLab library, one would first create a Gitlab object and then do something like this:
In the latter case, since we chain our method calls, would this result in?
- first a call to get the project
- secondly, a call to get the variables
Or is the library smart enough to only call the last endpoint? Fetching the project first would be totally useless.