Skip to content

Commit

Permalink
Add docs for the files arg in http_*
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed May 19, 2018
1 parent 66d8f30 commit 79c4682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitlab/__init__.py
Expand Up @@ -647,6 +647,7 @@ def http_request(self, verb, path, query_data={}, post_data={},
post_data (dict): Data to send in the body (will be converted to
json)
streamed (bool): Whether the data should be streamed
files (dict): The files to send to the server
**kwargs: Extra data to make the query (e.g. sudo, per_page, page)
Returns:
Expand Down Expand Up @@ -809,6 +810,7 @@ def http_post(self, path, query_data={}, post_data={}, files=None,
query_data (dict): Data to send as query parameters
post_data (dict): Data to send in the body (will be converted to
json)
files (dict): The files to send to the server
**kwargs: Extra data to make the query (e.g. sudo, per_page, page)
Returns:
Expand Down

0 comments on commit 79c4682

Please sign in to comment.