We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e77c5 commit a3e360aCopy full SHA for a3e360a
src/DIRAC/Core/Base/Client.py
@@ -156,8 +156,8 @@ def addFunctions(clientCls):
156
157
# loop over all the nodes (classes, functions, imports) in the handlerModule
158
for node in ast.iter_child_nodes(handlerAst):
159
- # find only a class with the name of the handlerClass
160
- if not (isinstance(node, ast.ClassDef) and node.name == handlerClassName):
+ # find only a class that starts with the name of the handlerClass
+ if not (isinstance(node, ast.ClassDef) and node.name.startswith(handlerClassName)):
161
continue
162
for member in ast.iter_child_nodes(node):
163
# only look at functions
0 commit comments