From 5bd8947bd16398aed218f07458aef72e67f2d130 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Fri, 18 Oct 2019 09:38:15 -0500 Subject: docs: projects get requires id Also, add an example value for project_id to the other projects.get() example. --- docs/gl_objects/projects.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/gl_objects') diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst index 15d8fe4..d766847 100644 --- a/docs/gl_objects/projects.rst +++ b/docs/gl_objects/projects.rst @@ -63,9 +63,8 @@ Results can also be sorted using the following parameters: Get a single project:: # Get a project by ID + project_id = 851 project = gl.projects.get(project_id) - # Get a project by userspace/name - project = gl.projects.get('myteam/myproject') Create a project:: -- cgit v1.2.1