def get_pplan(self, topologyName, callback=None):
isWatching = False<EOL>ret = {<EOL>"<STR_LIT:result>": None<EOL>}<EOL>if callback:<EOL><INDENT>isWatching = True<EOL><DEDENT>else:<EOL><INDENT>def callback(data):<EOL><INDENT>"""<STR_LIT>"""<EOL>ret["<STR_LIT:result>"] = data<EOL><DEDENT><DEDENT>self._get_pplan_with_watch(topologyName, callback, isWatching)<EOL>return ret["<STR_LIT:result>"]<EOL>
get physical plan