Skip to content

Commit

Permalink
remove iter cast from output entities
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jul 26, 2024
1 parent c351fa7 commit fe56b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmem_plugin_reason/plugin_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def make_entities(self, text: str, valid_profiles: list) -> Entities:
values=values,
),
]
return Entities(entities=iter(entities), schema=self.schema)
return Entities(entities=entities, schema=self.schema)

def _execute(self, context: ExecutionContext) -> Entities:
"""Run the workflow operator."""
Expand Down

0 comments on commit fe56b95

Please sign in to comment.