File tree Expand file tree Collapse file tree
huntflow_api_client/entities Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from huntflow_api_client .entities .organization_settings import OrganizationSettings
1919from huntflow_api_client .entities .production_calendars import ProductionCalendar
2020from huntflow_api_client .entities .questionary import ApplicantsQuestionary
21+ from huntflow_api_client .entities .recommendation import Recommendation
2122from huntflow_api_client .entities .regions import Region
2223from huntflow_api_client .entities .rejection_reason import RejectionReason
2324from huntflow_api_client .entities .resume import Resume
5455 "MultiVacancy" ,
5556 "OrganizationSettings" ,
5657 "ProductionCalendar" ,
58+ "Recommendation" ,
5759 "Region" ,
5860 "RejectionReason" ,
5961 "Resume" ,
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ async def list(
2929 if next_page_cursor is not None :
3030 params = {"next_page_cursor" : next_page_cursor }
3131 else :
32- params = {
33- "count" : count ,
34- "processing_status" : processing_status .value ,
35- }
32+ params = {"count" : count }
33+ params ["processing_status" ] = processing_status .value
34+
3635 response = await self ._api .request (
3736 "GET" ,
3837 f"/accounts/{ account_id } /recommendations/{ vacancy_id } " ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ async def test_list_recommendation(
5454 httpx_mock .add_response (
5555 url = (
5656 f"{ VERSIONED_BASE_URL } /accounts/{ ACCOUNT_ID } /recommendations/{ VACANCY_ID } "
57- f"?next_page_cursor={ next_page_cursor } "
57+ f"?next_page_cursor={ next_page_cursor } &processing_status=ALL "
5858 ),
5959 json = RECOMMENDATION_LIST_RESPONSE ,
6060 )
You can’t perform that action at this time.
0 commit comments