Skip to content

Commit 740fac0

Browse files
author
Sherin Thomas
authored
Merge pull request #53 from RedisAI/ci-fix
Remove last special character from DAG before run
2 parents 167be11 + 480fcfe commit 740fac0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redisai/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,8 @@ def modelrun(self,
669669
return self
670670

671671
def run(self):
672-
results = self.executor(*self.commands)
672+
commands = self.commands[:-1] # removing the last "|>
673+
results = self.executor(*commands)
673674
if self.enable_postprocess:
674675
out = []
675676
for res, fn in zip(results, self.result_processors):

0 commit comments

Comments
 (0)