Skip to content

Commit e716c47

Browse files
committed
Review comments
1 parent 43dc2c4 commit e716c47

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

backend/app/api/v1/commons/oso.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import pandas as pd
44

5-
from app.api.v1.commons.constants import HCE_FIELD_CONSTANT_DICT
65
import app.api.v1.commons.utils as utils
76
from app.services.search import ElasticService
87

@@ -54,4 +53,3 @@ async def getData(
5453
return {"data": jobs, "total": response["total"]}
5554

5655
return {"data": jobs, "total": response["total"]}
57-

backend/app/api/v1/endpoints/oso/osoJobs.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66

77
from app.api.v1.commons.utils import normalize_pagination
88

9-
from ...commons.example_responses import (
10-
ocp_200_response,
11-
response_422,
12-
)
9+
from ...commons.example_responses import ocp_200_response, response_422
1310
from ...commons.oso import getData
1411

1512
router = APIRouter()
@@ -81,5 +78,3 @@ async def jobs(
8178

8279
jsonstring = json.dumps(response)
8380
return jsonstring
84-
85-

0 commit comments

Comments
 (0)