Skip to content

Commit

Permalink
adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 2, 2024
1 parent ca6bf1c commit 6fd956e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ def update(self, client: Bfabric) -> None:
max_results = 300 if "BFABRICPY_DEBUG" in os.environ else None
logger.debug(f"Checking for new container ids since {timestamp} with limit {max_results}")
result = client.read(
"container", {**self._data.query, "createdafter": timestamp}, return_id_only=True, max_results=max_results
endpoint="container",
obj={**self._data.query, "createdafter": timestamp},
return_id_only=True,
max_results=max_results,
)
if len(result):
ids = result.to_polars()["id"].unique().to_list()
Expand Down

0 comments on commit 6fd956e

Please sign in to comment.