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

Commit2b9ae5c

Browse files
author
Gauvain Pocentek
authored
Merge pull request#483 from ToonMeynen/patch-2
Update projects.py documentation
2 parentsf3533cd +629b1e1 commit2b9ae5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎docs/gl_objects/projects.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,13 @@
195195

196196
# files create
197197
# v4
198-
f=project.files.create({'file_path':'testfile',
198+
f=project.files.create({'file_path':'testfile.txt',
199199
'branch':'master',
200200
'content':file_content,
201+
'author_email':'test@example.com',
202+
'author_name':'yourname',
203+
'encoding':'text',
201204
'commit_message':'Create testfile'})
202-
203205
# v3
204206
f=project.files.create({'file_path':'testfile',
205207
'branch_name':'master',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp