lsst.shapelet
21.0.0-3-g4be5c26+6858230d5f
python
lsst
shapelet
constants
constantsContinued.py
Go to the documentation of this file.
1
from
.constants
import
BasisTypeEnum
2
3
from
lsst.utils
import
continueClass
4
5
__all__ = []
6
7
8
@continueClass
# noqa: F811 (FIXME: remove for py 3.8+)
9
class
BasisTypeEnum
:
# noqa: F811
10
# Workaround for broken pickling on Python 2
11
# Without this fails with: TypeError: lsst.shapelet.constants.BasisTypeEnum.__new__(
12
# lsst.shapelet.constants.BasisTypeEnum) is not safe, use object.__new__()
13
def
__reduce__
(self):
14
return
(BasisTypeEnum, (int(self), ))
lsst::shapelet.constants.constantsContinued.BasisTypeEnum
Definition:
constantsContinued.py:9
lsst::shapelet.constants.constantsContinued.BasisTypeEnum.__reduce__
def __reduce__(self)
Definition:
constantsContinued.py:13
lsst::utils
Generated on Thu Jun 17 2021 02:26:29 for lsst.shapelet by
1.9.1