#NEWLINE# @ classmethod #NEWLINE# def new_from_tuple( cls , tuple_ ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( queryset , serializer , label ) = tuple_ #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# ( queryset , serializer ) = tuple_ #NEWLINE# label = None #NEWLINE# #UNINDENT# query = Query ( queryset , tuple_ , label ) #NEWLINE# return query