Skip to content

Commit 79c4682

Browse files
author
Gauvain Pocentek
committed
Add docs for the files arg in http_*
1 parent 66d8f30 commit 79c4682

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitlab/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ def http_request(self, verb, path, query_data={}, post_data={},
647647
post_data (dict): Data to send in the body (will be converted to
648648
json)
649649
streamed (bool): Whether the data should be streamed
650+
files (dict): The files to send to the server
650651
**kwargs: Extra data to make the query (e.g. sudo, per_page, page)
651652
652653
Returns:
@@ -809,6 +810,7 @@ def http_post(self, path, query_data={}, post_data={}, files=None,
809810
query_data (dict): Data to send as query parameters
810811
post_data (dict): Data to send in the body (will be converted to
811812
json)
813+
files (dict): The files to send to the server
812814
**kwargs: Extra data to make the query (e.g. sudo, per_page, page)
813815
814816
Returns:

0 commit comments

Comments
 (0)