diff options
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/projects.py | 7 | ||||
-rw-r--r-- | docs/gl_objects/projects.rst | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py index 6ef6069..6cdd260 100644 --- a/docs/gl_objects/projects.py +++ b/docs/gl_objects/projects.py @@ -393,3 +393,10 @@ issue.notes.create({ "body": "See the [attached file]({})".format(uploaded_file["url"]) }) # end project file upload markdown custom + +# users list +users = p.users.list() + +# search for users +users = p.users.list(search='pattern') +# end users list diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst index 7f3d479..8465eb9 100644 --- a/docs/gl_objects/projects.rst +++ b/docs/gl_objects/projects.rst @@ -160,6 +160,12 @@ Get a list of contributors for the repository: :start-after: # repository contributors :end-before: # end repository contributors +Get a list of users for the repository: + +.. literalinclude:: projects.py + :start-after: # users list + :end-before: # end users list + Project files ============= |