Skip to content

Commit

Permalink
Solve "precisedelta" duplicate definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristobal Pio Garcia committed Jun 12, 2024
1 parent c3588db commit 891a0b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lsst/summit/utils/nightReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 891a0b9

Please sign in to comment.