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.
2 parents 0b55787 + 44f8df8 commit 38cde53Copy full SHA for 38cde53
src/DIRAC/Core/Base/Client.py
@@ -159,8 +159,8 @@ def addFunctions(clientCls):
159
160
# loop over all the nodes (classes, functions, imports) in the handlerModule
161
for node in ast.iter_child_nodes(handlerAst):
162
- # find only a class with the name of the handlerClass
163
- 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)):
164
continue
165
for member in ast.iter_child_nodes(node):
166
# only look at functions
0 commit comments