Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated lru_cache decorator. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 6, 2022

  1. Updated lru_cache decorator.

    After installing and running the library pyconverse on python-3.7 or below and using the import statement it gives error in import itself. I went through the utils file and saw that the "@lru_cache" decorator was written as per the new python(i.e. 3.8+) style hence when calling in older versions(py 3.7 and below it raises a NoneType Error) as the LRU_CACHE decorator is written as -" @lru_cache() " with paranthesis for older versions .  Hence made the changes. The changes made do not cause any error on the newer versions.
    AkashKhamkar committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    84788de View commit details
    Browse the repository at this point in the history