Skip to content

Commit b34341a

Browse files
committed
Fix CI TypeError
1 parent 6447062 commit b34341a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ragas/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Executor:
102102
keep_progress_bar: bool = True
103103
jobs: t.List[t.Any] = field(default_factory=list, repr=False)
104104
raise_exceptions: bool = False
105-
run_config: t.Optional[RunConfig]
105+
run_config: t.Optional[RunConfig] = field(default_factory=RunConfig, repr=False)
106106

107107
def wrap_callable_with_index(self, callable: t.Callable, counter):
108108
async def wrapped_callable_async(*args, **kwargs):

0 commit comments

Comments
 (0)