code: def resource_info(self, resource_name, extended=True):
          
  
          if extended:
              ret, err = self.visalib.parse_resource_extended(self.session, resource_name)
          else:
              ret, err = self.visalib.parse_resource(self.session, resource_name)
  
          return ret
docs: Get the (extended) information of a particular resource.
  
          :param resource_name: Unique symbolic name of a resource.
  
          :rtype: :class:`pyvisa.highlevel.ResourceInfo`