Skip to content

Commit bd0f87a

Browse files
Fix Project.create_label docs (remove Type).
1 parent f45fa03 commit bd0f87a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

labelbox/schema/project.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ class Project(DbObject, Updateable, Deletable):
4242
benchmarks = Relationship.ToMany("Benchmark", False)
4343

4444
def create_label(self, **kwargs):
45-
""" Creates a label on this project.
45+
""" Creates a label on this Project.
4646
Kwargs:
4747
Label attributes. At the minimum the label `DataRow`
48-
and `Type` relationships and `label`, `seconds_to_label`
49-
fields.
48+
relationship and `seconds_to_label` field.
5049
"""
5150
# Copy-paste of Client._create code so we can inject
5251
# a connection to Type. Type objects are on their way to being

0 commit comments

Comments
 (0)