Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesWesch committed Dec 16, 2024
1 parent 0c9a174 commit 9754dbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/intelligence_layer/evaluation/benchmark/get_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def get_class_source(cls: type) -> str:

raise ValueError(f"Class '{class_name}' not found in the notebook")


def get_source_notebook_safe(logic: EvaluationLogic | AggregationLogic) -> str:
# In ipython, we can't use inspect.getsource on classes defined in the notebook
logic_class = type(logic)
Expand Down

0 comments on commit 9754dbc

Please sign in to comment.