Skip to content

Commit

Permalink
Add query-name support for Composite Commands also.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Agarwal committed Nov 24, 2014
1 parent 0b8e71a commit fbd49ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qds_sdk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def parse(cls, args):

class CompositeCommand(Command):
@classmethod
def compose(cls, sub_commands, macros=None, cluster_label=None, notify=False):
def compose(cls, sub_commands, macros=None, cluster_label=None, notify=False, name=None):
"""
Args:
`sub_commands`: list of sub-command dicts
Expand All @@ -759,7 +759,8 @@ def compose(cls, sub_commands, macros=None, cluster_label=None, notify=False):
"command_type": "CompositeCommand",
"macros": macros,
"label": cluster_label,
"can_notify": notify
"can_notify": notify,
"name": name
}


Expand Down

0 comments on commit fbd49ee

Please sign in to comment.