@tornado.gen.coroutine<EOL><INDENT>def get(self):<DEDENT>
<EOL>topologies = yield access.get_topologies_states()<EOL>result = dict()<EOL>for cluster, cluster_value in topologies.items():<EOL><INDENT>result[cluster] = dict()<EOL>for environ, environ_value in cluster_value.items():<EOL><INDENT>result[cluster][environ] = dict()<EOL>for topology, topology_value in environ_value.items():<EOL><INDENT>if "<STR_LIT>" not in topology_value or topology_value["<STR_LIT>"] is None:<EOL><INDENT>continue<EOL><DEDENT>if "<STR_LIT>" in topology_value:<EOL><INDENT>topology_value["<STR_LIT>"] = topology_value["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>topology_value["<STR_LIT>"] = '<STR_LIT:->'<EOL><DEDENT>result[cluster][environ][topology] = topology_value<EOL><DEDENT><DEDENT><DEDENT>self.write(result)<EOL>
:return: