lsst-utils 29.2025.3400__py3-none-any.whl → 29.2025.3600__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lsst/utils/timer.py +17 -1
- lsst/utils/version.py +1 -1
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/METADATA +1 -1
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/RECORD +9 -9
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/WHEEL +0 -0
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/licenses/COPYRIGHT +0 -0
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/licenses/LICENSE +0 -0
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/top_level.txt +0 -0
- {lsst_utils-29.2025.3400.dist-info → lsst_utils-29.2025.3600.dist-info}/zip-safe +0 -0
lsst/utils/timer.py
CHANGED
|
@@ -27,7 +27,7 @@ import time
|
|
|
27
27
|
import traceback
|
|
28
28
|
from collections.abc import Callable, Collection, Iterable, Iterator, MutableMapping
|
|
29
29
|
from contextlib import contextmanager, suppress
|
|
30
|
-
from typing import TYPE_CHECKING, Any
|
|
30
|
+
from typing import TYPE_CHECKING, Any, TypeVar, overload
|
|
31
31
|
|
|
32
32
|
from astropy import units as u
|
|
33
33
|
|
|
@@ -233,6 +233,22 @@ def logInfo(
|
|
|
233
233
|
)
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
_F = TypeVar("_F", bound=Callable)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
@overload
|
|
240
|
+
def timeMethod(_func: _F) -> _F: ...
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
@overload
|
|
244
|
+
def timeMethod(
|
|
245
|
+
*,
|
|
246
|
+
metadata: MutableMapping | None = None,
|
|
247
|
+
logger: LsstLoggers | None = None,
|
|
248
|
+
logLevel: int = logging.DEBUG,
|
|
249
|
+
) -> Callable[[_F], _F]: ...
|
|
250
|
+
|
|
251
|
+
|
|
236
252
|
def timeMethod(
|
|
237
253
|
_func: Any | None = None,
|
|
238
254
|
*,
|
lsst/utils/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "29.2025.
|
|
2
|
+
__version__ = "29.2025.3600"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-utils
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.3600
|
|
4
4
|
Summary: Utility functions from Rubin Observatory Data Management for the Legacy Survey of Space and Time (LSST).
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -14,19 +14,19 @@ lsst/utils/packages.py,sha256=D2eD2Qy3P_Os7RbUKsG2mPyLoSLjqejUX6lNhaC16wg,27455
|
|
|
14
14
|
lsst/utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
lsst/utils/tests.py,sha256=1cjyXtEL2LNhnPKjtiTt9cdPmlaEWgaWBx9BfM-xSmA,39152
|
|
16
16
|
lsst/utils/threads.py,sha256=WNl3uvbE7bx5UyxTX0fwN5AkU3Yty_m8y_pMKcMCdv8,2551
|
|
17
|
-
lsst/utils/timer.py,sha256=
|
|
17
|
+
lsst/utils/timer.py,sha256=N0XTE9-UN5ziKq_GP8x2xa0CZbXwMhF0hrTLc1z56sM,20545
|
|
18
18
|
lsst/utils/usage.py,sha256=qunydx-KlcbNp-vFcBtvBayWwZAa0tHtSWvz5BycvLA,4598
|
|
19
|
-
lsst/utils/version.py,sha256=
|
|
19
|
+
lsst/utils/version.py,sha256=ZurYJq3H1N3sYvajaIHiUwmYLCKpJ0UAtat5MF3tfkU,55
|
|
20
20
|
lsst/utils/wrappers.py,sha256=KCvsrGXziLQ5pC8ytiFEXeDH9mBSo8eCZ8g08f7s404,19209
|
|
21
21
|
lsst/utils/plotting/__init__.py,sha256=OEAZv2W12UAcUfDxH5H_k8v7cK4fVTOssuqNksZTuIs,507
|
|
22
22
|
lsst/utils/plotting/figures.py,sha256=pLkD7MpYk1Zs2hozA2-6r_uUd1129Uoi9EAEkMvtCjk,4356
|
|
23
23
|
lsst/utils/plotting/limits.py,sha256=6ilPmb4wg4aVtjlBgm75FPBrjDVSkW_ywZrj_QIQD2U,5839
|
|
24
24
|
lsst/utils/plotting/publication_plots.py,sha256=-uOL2ptI3N52KxfhtJNsUt7SqeGdT78GF-_QjHKKmV8,5016
|
|
25
25
|
lsst/utils/plotting/rubin.mplstyle,sha256=mjLPYzolUjeCXq8z4ltXLvEf8IuyT4TS0Nx8JJ05v6I,1063
|
|
26
|
-
lsst_utils-29.2025.
|
|
27
|
-
lsst_utils-29.2025.
|
|
28
|
-
lsst_utils-29.2025.
|
|
29
|
-
lsst_utils-29.2025.
|
|
30
|
-
lsst_utils-29.2025.
|
|
31
|
-
lsst_utils-29.2025.
|
|
32
|
-
lsst_utils-29.2025.
|
|
26
|
+
lsst_utils-29.2025.3600.dist-info/licenses/COPYRIGHT,sha256=I6Bxnp_LkIqDjafZNIXM8jfjYWC4XIlpNpZ7jkdeZK0,361
|
|
27
|
+
lsst_utils-29.2025.3600.dist-info/licenses/LICENSE,sha256=7wrtgl8meQ0_RIuv2TjIKpAnNrl-ODH-QLwyHe9citI,1516
|
|
28
|
+
lsst_utils-29.2025.3600.dist-info/METADATA,sha256=iepfKBQBeOmARkRE6i_OlhkY6qNiGXE_AePWKEzPG_c,1691
|
|
29
|
+
lsst_utils-29.2025.3600.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
30
|
+
lsst_utils-29.2025.3600.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
|
|
31
|
+
lsst_utils-29.2025.3600.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
32
|
+
lsst_utils-29.2025.3600.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|