#NEWLINE# def _to_cluster( self , data ) : #NEWLINE# #INDENT# '\n        Convert namespace to a cluster\n        ' #NEWLINE# metadata = data [ 'metadata' ] #NEWLINE# status = data [ 'status' ] #NEWLINE# return ContainerCluster ( id = metadata [ 'name' ] , name = metadata [ 'name' ] , driver = self . connection . driver , extra = { #NEWLINE# #INDENT# 'phase' : status [ 'phase' ] , #NEWLINE# #UNINDENT# } )