code: def list_tables(refresh=False, cache_file=None):
      
      # default cache listing all objects available is
      # ~/.bcdata
      if not cache_file:
          cache_file = os.path.join(str(Path.home()), ".bcdata")
  
      # regenerate the cache if:
      # - the cache file doesn't exist
      # - we force a refresh
      # - the cache is older than 1 month
      if refresh or check_cache(cache_file):
          wfs = WebFeatureService(url=bcdata.OWS_URL, version="2.0.0")
          bcdata_objects = [i.strip("pub:") for i in list(wfs.contents)]
          with open(cache_file, "w") as outfile:
              json.dump(sorted(bcdata_objects), outfile)
      else:
          with open(cache_file, "r") as infile:
              bcdata_objects = json.load(infile)
  
      return bcdata_objects
docs: Return a list of all datasets available via WFS