Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import os
|
|
3 |
|
4 |
import streamlit as st
|
5 |
import streamlit.components.v1 as components
|
6 |
-
from aiocache import Cache, cached
|
7 |
|
8 |
from py_code_analyzer import CodeFetcher, CodeImportsAnalyzer, ImportsGraphVisualizer
|
9 |
from utils import conditonal_decorator, time_function
|
@@ -42,7 +41,6 @@ def get_python_files(owner: str, repo: str, tree_sha: str):
|
|
42 |
return CodeFetcher().get_python_files(owner, repo, tree_sha)
|
43 |
|
44 |
|
45 |
-
@cached(ttl=None, cache=Cache.MEMORY)
|
46 |
@conditonal_decorator(time_function, DEV)
|
47 |
async def parse_python_files(analyzer: CodeImportsAnalyzer):
|
48 |
_ = await analyzer.parse_python_files()
|
|
|
3 |
|
4 |
import streamlit as st
|
5 |
import streamlit.components.v1 as components
|
|
|
6 |
|
7 |
from py_code_analyzer import CodeFetcher, CodeImportsAnalyzer, ImportsGraphVisualizer
|
8 |
from utils import conditonal_decorator, time_function
|
|
|
41 |
return CodeFetcher().get_python_files(owner, repo, tree_sha)
|
42 |
|
43 |
|
|
|
44 |
@conditonal_decorator(time_function, DEV)
|
45 |
async def parse_python_files(analyzer: CodeImportsAnalyzer):
|
46 |
_ = await analyzer.parse_python_files()
|