File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -87,19 +87,19 @@ this can be achieved by importing code from the destination repository with an a
8787trivially repackaging it following the deprecation procedure described in
8888:doc: `Deprecating Interfaces <deprecating-interfaces >`.
8989
90- As an example, if a Python class `TreecorrConfig ` is moved from package `origin ` to package ` destination ` ,
90+ As an example, if a Python class `ConfigurableAction ` is moved from package `analysis_tools ` (downstream) to ` pex_config ` (upstream) ,
9191
9292.. code-block :: python
9393
94- from lsst.destination import TreecorrConfig as TreecorrConfigNew
94+ from lsst.pex.config import ConfigurableAction as ConfigurableActionNew
9595 from depecated.sphinx import deprecated
9696
97- __all__ = [" TreecorrConfig " , ... ]
97+ __all__ = [" ConfigurableAction " ]
9898
99- @deprecated (reason = " Moved to lsst.destination " ,
99+ @deprecated (reason = " Moved to lsst.pex.config " ,
100100 version = " v22.0" ,
101101 category = FutureWarning )
102- class TreecorrConfig ( TreecorrConfigNew ):
102+ class ConfigurableAction ( ConfigurableActionNew ):
103103 pass
104104
105105 In the relative less common case of moving code downstream, the following pattern can be used:
You can’t perform that action at this time.
0 commit comments