Skip to content

Commit 0eaa17e

Browse files
committed
Update functions_to_optimize.py
1 parent cc34aab commit 0eaa17e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

codeflash/discovery/functions_to_optimize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import ast
4+
import json
45
import os
56
import random
67
import warnings
@@ -458,6 +459,8 @@ def filter_functions(
458459
continue
459460
if blocklist_funcs:
460461
console.print(["blocklist", blocklist_funcs])
462+
console.print(f"DEBUG: Blocklist structure: {json.dumps(blocklist_funcs, default=str)}")
463+
461464
for function in functions.copy():
462465
path = Path(function.file_path).name
463466
if path in blocklist_funcs and function.function_name in blocklist_funcs[path]:

0 commit comments

Comments
 (0)