Coverage for python/lsst/utils/_forwarded.py: 78%
9 statements
« prev ^ index » next coverage.py v6.4, created at 2022-06-02 03:24 -0700
« prev ^ index » next coverage.py v6.4, created at 2022-06-02 03:24 -0700
1# This file is part of utils.
2#
3# Developed for the LSST Data Management System.
4# This product includes software developed by the LSST Project
5# (https://www.lsst.org).
6# See the COPYRIGHT file at the top-level directory of this distribution
7# for details of code ownership.
8#
9# Use of this source code is governed by a 3-clause BSD-style
10# license that can be found in the LICENSE file.
12__all__ = ("demangleType",)
14"""Functions that have been moved to the cpputils package and should no
15longer be used from this package."""
17from deprecated.sphinx import deprecated
19_REASON = "This function has been moved to the cpputils package. Will be removed after v25."
20_VERSION_REMOVED = "v23"
23@deprecated(reason=_REASON, version=_VERSION_REMOVED, category=FutureWarning)
24def demangleType(type_name: str) -> str:
25 """Demangle a C++ type string."""
26 import lsst.cpputils
28 return lsst.cpputils.demangleType(type_name)