diff options
Diffstat (limited to 'docs/gl_objects/projects.py')
-rw-r--r-- | docs/gl_objects/projects.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py index 27d250b..22c805d 100644 --- a/docs/gl_objects/projects.py +++ b/docs/gl_objects/projects.py @@ -195,11 +195,13 @@ print(f.decode()) # files create # v4 -f = project.files.create({'file_path': 'testfile', +f = project.files.create({'file_path': 'testfile.txt', 'branch': 'master', 'content': file_content, + 'author_email': 'test@example.com', + 'author_name': 'yourname', + 'encoding': 'text', 'commit_message': 'Create testfile'}) - # v3 f = project.files.create({'file_path': 'testfile', 'branch_name': 'master', |