#NEWLINE# @ classmethod #NEWLINE# def get_all( cls ) : #NEWLINE# #INDENT# '\n            Returns an array with all databases\n\n            :returns Database list\n        ' #NEWLINE# api = Client . instance ( ) . api #NEWLINE# data = api . database . get ( ) #NEWLINE# database_names = data [ 'result' ] #NEWLINE# databases = [ ] #NEWLINE# for name in database_names : #NEWLINE# #INDENT# db = Database ( name = name , api = api ) #NEWLINE# databases . append ( db ) #NEWLINE# #UNINDENT# return databases