Skip to content

Commit

Permalink
removed duplicate function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
vlouvet committed Dec 27, 2023
1 parent 413973e commit 91a18c3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions netsuite/soap_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,18 +479,6 @@ async def searchMoreWithId(
"searchMoreWithId", searchId=searchId, pageIndex=pageIndex
)

@WebServiceCall(
"body.searchResult",
extract=lambda resp: resp["recordList"]["record"],
)
async def searchMoreWithId(
self, searchId: str, pageIndex: int
) -> List[zeep.xsd.CompoundValue]:
"""Search records with pagination"""
return await self.request(
"searchMoreWithId", searchId=searchId, pageIndex=pageIndex
)

@WebServiceCall(
"body.writeResponseList",
extract=lambda resp: [record["baseRef"] for record in resp],
Expand Down

0 comments on commit 91a18c3

Please sign in to comment.