Skip to content

Commit 9bf2fbf

Browse files
Further formatting
1 parent 9c1e4e5 commit 9bf2fbf

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

labelbox/schema/model_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def add_predictions(
5353
return MEAPredictionImport.create_from_file(
5454
path=str(predictions), **kwargs)
5555
else:
56-
return MEAPredictionImport.create_from_url(
57-
url=str(predictions), **kwargs)
56+
return MEAPredictionImport.create_from_url(url=str(predictions),
57+
**kwargs)
5858
elif isinstance(predictions, Iterable):
5959
return MEAPredictionImport.create_from_objects(
6060
predictions=predictions, **kwargs)

tests/integration/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ def get_project_invites(client, project_id):
8585
query_str, {id_param: project_id},
8686
['project', 'invites', 'nodes'],
8787
Invite,
88-
cursor_path=['project',
89-
'invites', 'nextCursor'],
88+
cursor_path=['project', 'invites', 'nextCursor'],
9089
experimental=True)
9190

9291

tests/integration/mal_and_mea/conftest.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def configured_project(client, ontology, rand_gen, image_url):
120120

121121
@pytest.fixture
122122
def prediction_id_mapping(configured_project):
123-
# Maps tool types to feature schema ids
123+
#Maps tool types to feature schema ids
124124
ontology = configured_project.ontology().normalized
125125
result = {}
126126

@@ -179,7 +179,7 @@ def rectangle_inference(prediction_id_mapping):
179179
"schemaId":
180180
rectangle['tool']['classifications'][0]['options'][0]
181181
['featureSchemaId']
182-
}
182+
}
183183
}]
184184
})
185185
del rectangle['tool']
@@ -311,7 +311,9 @@ def model_run(rand_gen, model):
311311

312312

313313
@pytest.fixture
314-
def model_run_annotation_groups(client, configured_project, annotation_submit_fn, model_run_predictions, model_run):
314+
def model_run_annotation_groups(client, configured_project,
315+
annotation_submit_fn, model_run_predictions,
316+
model_run):
315317
configured_project.enable_model_assisted_labeling()
316318

317319
upload_task = MALPredictionImport.create_from_objects(

0 commit comments

Comments
 (0)