From 891a0b988fafdfe55f87874b3558d2824fe62289 Mon Sep 17 00:00:00 2001 From: Cristobal Pio Garcia Date: Wed, 12 Jun 2024 08:48:48 -0700 Subject: [PATCH] Solve "precisedelta" duplicate definition --- python/lsst/summit/utils/nightReport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/lsst/summit/utils/nightReport.py b/python/lsst/summit/utils/nightReport.py index 40f0b7f9..3953d725 100644 --- a/python/lsst/summit/utils/nightReport.py +++ b/python/lsst/summit/utils/nightReport.py @@ -40,8 +40,7 @@ from .utils import getFieldNameAndTileNumber, obsInfoToDict try: # TODO: Remove post RFC-896: add humanize to rubin-env - precisedelta: "Callable[[Any], str]" - from humanize.time import precisedelta + from humanize.time import precisedelta # typing: Callable[[Any], str] HAVE_HUMANIZE = True except ImportError: