Skip to content

Commit

Permalink
fix function name (#132)
Browse files Browse the repository at this point in the history
fix flush
  • Loading branch information
maxdeichmann authored Oct 19, 2023
1 parent ba7f40b commit 488218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langfuse/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def __init__(self, dataset_item: DatasetItem, langfuse: Langfuse):

self.langfuse = langfuse

def link(self, observation: StatefulClient, run_name: str):
def flush(self, observation: StatefulClient, run_name: str):
# flush the queue before creating the dataset run item
# to ensure that all events are persistet.
observation.task_manager.flush()
Expand Down

0 comments on commit 488218b

Please sign in to comment.