title: SQL compilation error: Package 'inspect' is not supported
body: <p>I have to create procedure in snowpark with python.
  I'm trying to get the procedure name inside the function.</p>
  <pre><code>CREATE OR REPLACE PROCEDURE TST()
      RETURNS STRING
      LANGUAGE PYTHON
      RUNTIME_VERSION = '3.8'
      PACKAGES = ('snowflake-snowpark-python')
      HANDLER = 'run'
  AS
  $$
  def run(snowpark_session):
      import inspect
      proc_name = inspect.stack()[0][3]
      return proc_name 
  $$;
  </code></pre>
  <p>it returns the function name: 'run'.</p>
  <p>sys option:</p>
  <pre><code>CREATE OR REPLACE PROCEDURE TST()
      RETURNS STRING
      LANGUAGE PYTHON
      RUNTIME_VERSION = '3.8'
      PACKAGES = ('snowflake-snowpark-python')
      HANDLER = 'run'
  AS
  $$
  def run(snowpark_session):
      import sys
      sp_name = sys._getframe().f_back.f_code.co_name
      return sp_name
  $$;
  </code></pre>
  <p>it return an error:
  <strong>AttributeError: 'NoneType' object has no attribute 'f_code'</strong></p>
  <p>Any idea how to solve it?
  maybe another way to get the procedure name?</p>