Skip to content

Commit

Permalink
fixed get_memory_location, now needs pagination_request
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenMachete committed May 2, 2024
1 parent 71c25f7 commit 7b7b813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptsl/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def get_memory_locations(self) -> List[pt.MemoryLocation]:
"""
Get a list of all memory locations in currently-open session.
"""
op = ops.GetMemoryLocations()
op = ops.GetMemoryLocations(pagination_request=pt.PaginationRequest(limit=1000, offset=0))
self.client.run(op)
return op.response.memory_locations

Expand Down

0 comments on commit 7b7b813

Please sign in to comment.