code: def get_type_schema(path):
      format = path.split(".")[-1]
  
      if format == "parquet":
          return "SchemaFrom.ParquetFile"
      elif (
          format == "csv" or format == "psv" or format.startswith("txt")
      ):
          return "SchemaFrom.loadFile"
  
imports: import os
  import re
  import tempfile
  from collections import OrderedDict
  from os import listdir
  from os.path import isdir
  import glob
  from enum import IntEnum, unique
  import cudf
  import dask_cudf
  import numpy
  import pandas
  import pyblazing
  from blazingsql import DataType
  from pyhive import hive
  from Configuration import Settings
  from DemoTest.chronometer import Chronometer
label_desc: Use image node_id 24 for calling a global function with example usage: get_type_schema(path) and returns: str, str