#NEWLINE# @ staticmethod #NEWLINE# def get( cluster_id , broker = None ) : #NEWLINE# #INDENT# '\n        gets the current status for the cluster\n        :param cluster_id: id of the cluster\n        :return: Stat or Status\n        ' #NEWLINE# if ( not broker ) : #NEWLINE# #INDENT# broker = get_broker ( ) #NEWLINE# #UNINDENT# pack = broker . get_stat ( Stat . get_key ( cluster_id ) ) #NEWLINE# if pack : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return signing . SignedPackage . loads ( broker ) #NEWLINE# #UNINDENT# except signing . BadSignature : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# #UNINDENT# return Status ( cluster_id )