Skip to content

Commit f362244

Browse files
committed
fix linting and the test derived from tree conflict
1 parent 11da407 commit f362244

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/api/routers/invocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def get_redacted_text(request: Request,
189189
return PlainTextResponse(content="WARNING: No entities were detected for redaction.", status_code=200)
190190
else:
191191
for annotation in annotations:
192-
192+
193193
if annotation["label_id"] in concepts_to_keep:
194194
continue
195195

tests/app/api/test_serving_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_process_unknown_jsonl_properties(model_service, client):
9797
assert "Invalid JSON properties found." in response.json()["message"]
9898

9999

100-
def test_redact_with_white_list():
100+
def test_redact_with_white_list(model_service, client):
101101
annotations = [{
102102
"label_name": "Spinal stenosis",
103103
"label_id": "76107001",

0 commit comments

Comments
 (0)