From e0c15176f05a4863f3541115f5bc7e113f419e58 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 18:52:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cl/recap/mergers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl/recap/mergers.py b/cl/recap/mergers.py index fb304c2e56..d9cdb62da2 100644 --- a/cl/recap/mergers.py +++ b/cl/recap/mergers.py @@ -822,8 +822,8 @@ async def get_or_make_docket_entry( return de, de_created -async def clean_duplicate_documents(params:dict[str, Any]) -> RECAPDocument: - """ Removes duplicate RECAPDocuments, keeping the most recent with PDF if +async def clean_duplicate_documents(params: dict[str, Any]) -> RECAPDocument: + """Removes duplicate RECAPDocuments, keeping the most recent with PDF if available or otherwise the most recent overall. :param params: Query parameters to filter the RECAPDocuments.