#NEWLINE# def _labeled_containers( self , stopped = False , one_off = OneOffFilter . exclude ) : #NEWLINE# #INDENT# return list ( filter ( None , [ Container . from_ps ( self . client , container ) for container in self . client . containers ( all = stopped , filters = { #NEWLINE# #INDENT# 'label' : self . labels ( one_off = stopped ) , #NEWLINE# #UNINDENT# } ) ] ) )