Gilderlan0101 commented on issue #2137:
URL: https://github.com/apache/superset/issues/2137#issuecomment-2452975720

   Para voce que chegou aqui no futuro:  crie um arquivo .env usnado 
   pip install python-dotenv
   
   no seu arquivo onde esta fazendo a comfiguração do flaks cache
   from dotenv import load_dotenv
   
   dentro do arquivo ( .env )
   
   crie uma variavel:
   
   CACHE='SimpleCache'
   
   voltando ao seu arquivo onde esta fazendo o cache
   
   chame o  load_dotenv() # Carregando as variaves de ambiente
   depois:
            app.config[CACHE_TYPE] = os.dotenv( " chame aqui a variavel entre 
aspas CACHE")
            app.config['CACHE_TYPE'] = os.getenv('CACHE')
   
   prontinho 


-- 
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