AttributeError("'Row' object has no attribute 'value'",)

query2 = SimpleStatement(“select “+MstoreUserParamListToFetch+” from users where userid in “+v_userid+””, )

        rows2=connclient.session2.execute(query2)
        userend = time.perf_counter()          
      
        for row2 in rows2:               
                for value in matchingUserList:
                   try:
                       fromMatchingUserlist=row2.value
                       print("fromMatchingUserlist",fromMatchingUserlist)
                   except:
                       print("exception")
                       logging.info('Exception : '+ str(sys.exc_info()))

i am getting AttributeError("‘Row’ object has no attribute ‘value’",) in the try catch block value contains matchingUserList [‘userid’, ‘cosid’]
if i give directly row2.userid i am able to fetch the data
can anyone please let me know how exactly i need to send value in row2