Skip to content

Commit 5bd8947

Browse files
author
Erik Johnson
committed
docs: projects get requires id
Also, add an example value for project_id to the other projects.get() example.
1 parent d853a76 commit 5bd8947

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/gl_objects/projects.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ Results can also be sorted using the following parameters:
6363
Get a single project::
6464

6565
# Get a project by ID
66+
project_id = 851
6667
project = gl.projects.get(project_id)
67-
# Get a project by userspace/name
68-
project = gl.projects.get('myteam/myproject')
6968

7069
Create a project::
7170

0 commit comments

Comments
 (0)