#NEWLINE# @ property #NEWLINE# def admin_client( self ) : #NEWLINE# #INDENT# if ( not self . _admin_client ) : #NEWLINE# #INDENT# admin_creds = self . _service_admin_creds ( ) #NEWLINE# c = kc_v3 . Client ( ** admin_creds ) #NEWLINE# if c . authenticate ( ) : #NEWLINE# #INDENT# self . _admin_client = c #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# LOG . error ( 'Admin client authentication failed' ) #NEWLINE# raise exception . AuthorizationFailure ( ) #NEWLINE# #UNINDENT# #UNINDENT# return self . _admin_client