Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79c4682

Browse files
author
Gauvain Pocentek
committed
Add docs for thefiles arg in http_*
1 parent66d8f30 commit79c4682

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎gitlab/__init__.py‎

Lines changed: 2 additions & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp