code: def adb_cmd(self, command, **kwargs):
          '''
          Run adb command, for example: adb(['pull', '/data/local/tmp/a.png'])
  
          Args:
              command: string or list of string
  
          Returns:
              command output
          '''
          kwargs['timeout'] = kwargs.get('timeout', self._adb_shell_timeout)
          if isinstance(command, list) or isinstance(command, tuple):
              return self.adb_device.run_cmd(*list(command), **kwargs)
          return self.adb_device.run_cmd(command, **kwargsf adb_cmd(self, command, **kwargs):
          '''
          Run adb command, for example: adb(['pull', '/data/local/tmp/a.png'])
  
          Args:
              command: string or list of string
  
          Returns:
              command output
          '''
          kwargs['timeout'] = kwargs.get('timeout', self._adb_shell_timeout)
          if isinstance(command, list) or isinstance(command, tuple):
              return self.adb_device.run_cmd(*list(command), **kwargs)
          return self.adb_device.run_cmd(command, **kwargs)
docs: Run adb command, for example: adb(['pull', '/data/local/tmp/a.png'])
  
          Args:
              command: string or list of string
  
          Returns:
              command output