Fix logging issue (#44)
Browse files- Fix logging issue (8d07b47d67c2f097db7d267e26f05acc2a934418)
functions/query_functions.py
CHANGED
@@ -163,7 +163,7 @@ def query_func(queries:List[str], session_hash, session_folder, args, **kwargs):
|
|
163 |
graphql_object = GraphQLQuery()
|
164 |
result = graphql_object.run(queries, args[0], args[1], args[2], session_hash)
|
165 |
print("RESULT")
|
166 |
-
result["csv_columns"]
|
167 |
if len(result["results"][0]) > 1000:
|
168 |
print("QUERY TOO LARGE")
|
169 |
return {"reply": f"""query result too large to be processed by llm, the query results are in our query.csv file.
|
|
|
163 |
graphql_object = GraphQLQuery()
|
164 |
result = graphql_object.run(queries, args[0], args[1], args[2], session_hash)
|
165 |
print("RESULT")
|
166 |
+
print(result["csv_columns"])
|
167 |
if len(result["results"][0]) > 1000:
|
168 |
print("QUERY TOO LARGE")
|
169 |
return {"reply": f"""query result too large to be processed by llm, the query results are in our query.csv file.
|