ml-rest-api-caching
ml-rest-api-caching copied to clipboard
Imports should be at the top, not in method calls
There are some instances in your code where you import in a function or method call. This is inefficient, because the import gets run multiple times. I would think it would be cleaner if you do all your imports once at the top of the file in accordance with pep8.