gaguriee opened a new issue, #25021:
URL: https://github.com/apache/superset/issues/25021

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   
   
   I add superset_config.py file and set the variable path successfully.
   
   if I run the config.py, it returns :
   `:/app# python /app/superset/config.py
   /app/superset/config.py:26: DeprecationWarning: the imp module is deprecated 
in favour of importlib; see the module's documentation for alternative uses
     import imp  # pylint: disable=deprecated-module
   Loaded your LOCAL configuration at [/home/local_settings/superset_config.py]
   `
   
   and my superset_config.py is as follow
   `:/app# cat /home/local_settings/superset_config.py
   #HTTP_HEADERS = {'X-Frame-Options': 'SAMEORIGIN'}
   # If you need to allow iframes from other domains
   HTTP_HEADERS = {}
   FEATURE_FLAGS = {
           "ENABLE_TEMPLATE_REMOVE_FILTERS" : True ,
           "ENABLE_TEMPLATE_PROCESSING": True,
           "DASHBOARD_NATIVE_FILTERS" : True,
           "DASHBOARD_NATIVE_FILTERS_SET": True,
           "DASHBOARD_LEVEL_ACCESS" : True,
           "ENABLE_TEMPLATE_REMOVE_FILTERS" : True,
           "ENABLE_TEMPLATE_PROCESSING": True
   }
   PUBLIC_ROLE_LIKE = "Gamma"
   PUBLIC_ROLE_LIKE_GAMMA = True
   `
   
   ### Expected results
   
   `select '{{ current_user_id() }}'` returns the user_id successfully
   
   ### Actual results
   
   
   And I thought that I can user Jinja template now, but 
   
   `select '{{ current_user_id() }}'`
   this returns just literally String.
   and I could not find any 'Parameters' button.
   
   
   #### Screenshots
   
   
![image](https://github.com/apache/superset/assets/74501631/f02193e6-021b-42eb-811e-bdf1b14fc931)
   
   
   ### Environment
   
   Superset 2.1.0
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to