We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The CLI usage documentation provides the following .python-gitlab.cfg file example:
.python-gitlab.cfg
[global] ... api_version = 3 [somewhere] ... api_version = 4 ...
However, the api_version option in the [global] section seems having no effect.
api_version
[global]
with [global] api_version = 3:
[global] api_version = 3
user@machine:~$ gitlab -d project list ... DEBUG:urllib3.connectionpool:https:/<host>:443 "GET /api/v3/projects HTTP/1.1" 200 None ...
with [global] api_version = 4: the result is the same, it uses v3 endpoints
[global] api_version = 4
FYI:
user@machine:~$ pip freeze | grep gitlab python-gitlab==1.2.0
The text was updated successfully, but these errors were encountered:
29bd813
No branches or pull requests
The CLI usage documentation provides the following
.python-gitlab.cfg
file example:However, the
api_version
option in the[global]
section seems having no effect.with
[global] api_version = 3
:with
[global] api_version = 4
: the result is the same, it uses v3 endpointsFYI:
The text was updated successfully, but these errors were encountered: