code: def curr_dir():
      return os.path.dirname(os.path.realpath(__file__))
  
imports: import json
  import os
  import shutil
  import tempfile
  from io import BytesIO, StringIO
  from unittest.mock import patch
  import pandas
  import pytest
  import responses
  from mindsdb_sql.exceptions import ParsingException
  from mindsdb_sql.parser.ast import CreateTable, DropTables, Identifier, Select, Star
  from pytest_lazyfixture import lazy_fixture
  from mindsdb.integrations.handlers.file_handler.file_handler import FileHandler
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.interfaces.file.file_controller import FileController
label_desc: Use image node_id 1 for calling a global function with example usage: curr_dir() and returns: os