X Tutup
Skip to content

chore: make Gitlab.http_request() a private method#1842

Closed
JohnVillalovos wants to merge 1 commit intomainfrom
jlvillal/http_request
Closed

chore: make Gitlab.http_request() a private method#1842
JohnVillalovos wants to merge 1 commit intomainfrom
jlvillal/http_request

Conversation

@JohnVillalovos
Copy link
Member

Convert Gitlab.http_request() to Gitlab._http_request() to signify
it is a private/protected method so that users of the library know
they should not use the method and we make no API stability promises
for using it.

Add a Gitlab.http_request() method which will issue a Deprecation
warning when called. It will pass the call onto
Gitlab._http_request()

Also, in the interest of improving code read-ability, require keyword
arg usage when calling Gitlab._http_request()

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup