Skip to content

Commit a13764c

Browse files
authored
Merge pull request #1309 from sarroutbi/202504292004-avoid-unused-parameter
Avoid unused parameter
2 parents 3fd4fdb + d1c0eda commit a13764c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ramalama/rag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def build(self, source, target, args):
5555
)
5656
return imageid
5757

58-
def _handle_docs_path(self, path, docs_path, exec_args):
58+
def _handle_docs_path(self, path, docs_path):
5959
"""Adds a volume mount if path exists, otherwise downloads from URL."""
6060
if os.path.exists(path):
6161
fpath = os.path.realpath(path)
@@ -95,7 +95,7 @@ def generate(self, args):
9595
docsdb_used = False
9696

9797
for path in args.PATH:
98-
if self._handle_docs_path(path, docsdb.name, self.engine.exec_args):
98+
if self._handle_docs_path(path, docsdb.name):
9999
docsdb_used = True
100100

101101
if docsdb_used:

0 commit comments

Comments
 (0)