Skip to content

Commit 42b8951

Browse files
committed
feat: mark ARC/ARC6CE interfaces as deprecated
1 parent 1cd1173 commit 42b8951

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/DIRAC/Resources/Computing/ARC6ComputingElement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222

2323
import arc # Has to work if this module is called #pylint: disable=import-error
2424
from DIRAC import S_OK, S_ERROR
25+
from DIRAC.Core.Utilities.Decorators import deprecated
2526
from DIRAC.Resources.Computing.ARCComputingElement import ARCComputingElement, prepareProxyToken
2627

2728

29+
@deprecated("Use AREXComputingElement instead", onlyOnce=True)
2830
class ARC6ComputingElement(ARCComputingElement):
2931
def __init__(self, ceUniqueID):
3032
"""Standard constructor."""

src/DIRAC/Resources/Computing/ARCComputingElement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
from DIRAC.Core.Utilities.Subprocess import shellCall
5656
from DIRAC.Core.Utilities.List import breakListIntoChunks
5757
from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup
58+
from DIRAC.Core.Utilities.Decorators import deprecated
5859
from DIRAC.Resources.Computing.ComputingElement import ComputingElement
5960
from DIRAC.Resources.Computing.PilotBundle import writeScript
6061
from DIRAC.WorkloadManagementSystem.Client import PilotStatus
@@ -110,6 +111,7 @@ def wrapper(*args, **kwargs):
110111
return wrapper
111112

112113

114+
@deprecated("Use AREXComputingElement instead", onlyOnce=True)
113115
class ARCComputingElement(ComputingElement):
114116
_arcLevels = ["DEBUG", "VERBOSE", "INFO", "WARNING", "ERROR", "FATAL"]
115117

0 commit comments

Comments
 (0)