You cannot import it. You have to pass it to the functions that need
it.

massimo

On Oct 17, 7:15 pm, Andrew Evans <[email protected]> wrote:
> having problems using the cache feature in my code and can't figure out how
> to import it
>
>   File "applications/Working/modules/logging.py", line 20, in <module>
> NameError: name 'cache' is not defined
>
> this is in a Module file I created any ideas how to import it?

Reply via email to