Limit excessive logging
Browse files
functions/chart_functions.py
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
from typing import List
|
2 |
-
from typing import Dict
|
3 |
import plotly.io as pio
|
4 |
import plotly.express as px
|
5 |
import pandas as pd
|
6 |
from utils import TEMP_DIR
|
7 |
import os
|
8 |
import ast
|
9 |
-
import json
|
10 |
from dotenv import load_dotenv
|
11 |
|
12 |
load_dotenv()
|
@@ -366,7 +364,7 @@ def table_generation_func(session_hash, session_folder, **kwargs):
|
|
366 |
df = pd.read_csv(csv_query_path)
|
367 |
|
368 |
html_table = df.to_html()
|
369 |
-
print(html_table)
|
370 |
|
371 |
with open(table_path, "w") as file:
|
372 |
file.write(html_table)
|
|
|
1 |
from typing import List
|
|
|
2 |
import plotly.io as pio
|
3 |
import plotly.express as px
|
4 |
import pandas as pd
|
5 |
from utils import TEMP_DIR
|
6 |
import os
|
7 |
import ast
|
|
|
8 |
from dotenv import load_dotenv
|
9 |
|
10 |
load_dotenv()
|
|
|
364 |
df = pd.read_csv(csv_query_path)
|
365 |
|
366 |
html_table = df.to_html()
|
367 |
+
print(html_table[:200])
|
368 |
|
369 |
with open(table_path, "w") as file:
|
370 |
file.write(html_table)
|