Skip to content

Commit 9c812bd

Browse files
committed
format
1 parent 7b3ed1e commit 9c812bd

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

examples/get_auto_annotation_jobs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44

55
client = fastlabel.Client()
66

7-
auto_annotation_jobs = client.get_auto_annotation_jobs(
8-
project="YOUR_PROJECT_SLUG"
9-
)
7+
auto_annotation_jobs = client.get_auto_annotation_jobs(project="YOUR_PROJECT_SLUG")
108
pprint(auto_annotation_jobs)

fastlabel/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4742,9 +4742,7 @@ def get_auto_annotation_jobs(
47424742
limit is the max number to fetch (Optional).
47434743
"""
47444744
if project is None:
4745-
raise FastLabelInvalidException(
4746-
"Project is required.", 422
4747-
)
4745+
raise FastLabelInvalidException("Project is required.", 422)
47484746
if limit > 1000:
47494747
raise FastLabelInvalidException(
47504748
"Limit must be less than or equal to 1000.", 422

0 commit comments

Comments
 (0)