class_docstr: Contais some helpful set of methods and attributes for tests execution.
class_docstr_tok: ["Contais","some","helpful","set","of","methods","and","attributes","for","tests","execution","."]
code: def verify_file_ds(self, ds_name):
      timeout = 5
      threshold = time.time() + timeout
      res = ""
      while time.time() < threshold:
          _query = "USE files; SHOW tables;"
          res = self.query(_query)
          if "Tables_in_files" in res and res.get_record(
              "Tables_in_files", ds_name
          ):
              break
          time.sleep(0.5)
      assert "Tables_in_files" in res and res.get_record(
          "Tables_in_files", ds_name
      ), f"file datasource {ds_name} is not ready to use after {timeout} seconds"
  
imports: import os
  import time
  import tempfile
  import json
  from pathlib import Path
  import docker
  import pandas
  import requests
  import pytest
  from .conftest import docker_inet_ip, TEMP_DIR
label_desc: Use image node_id 5 for calling the BaseStuff obj's underlying member method code with example usage: obj.verify_file_ds(ds_name) without return types