Skip to content
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
18a7f21
chore!: require Python 3.11 or newer
cursoragent Oct 6, 2026
ee38a2b
feat(openai)!: drop support for OpenAI SDK versions below 1.0
cursoragent Oct 6, 2026
95b341d
feat(otel)!: send x-langfuse-ingestion-version: 4 by default
cursoragent Oct 6, 2026
466808b
feat(client)!: remove blocked_instrumentation_scopes
cursoragent Oct 6, 2026
e9623ee
feat(tracing)!: JSON-serialize propagated metadata values
cursoragent Oct 6, 2026
66f9842
feat(client)!: remove get_dataset_run, get_dataset_runs and delete_da…
cursoragent Oct 6, 2026
5fc6147
fix(tracing): serialize propagated metadata like JSON.stringify
cursoragent Oct 6, 2026
d32cdd9
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 6, 2026
4cffec5
fix(observe): keep detecting legacy-marked coroutine functions
cursoragent Oct 7, 2026
aa14c25
Merge branch 'lfe-17080-python-sdk-v5-drop-openai-sdk-10-support' int…
cursoragent Oct 7, 2026
a5fe6eb
Merge branch 'lfe-17078-python-sdk-v5-remove-blocked_instrumentation_…
cursoragent Oct 7, 2026
90102f8
Merge branch 'lfe-17074-python-sdk-v5-send-x-langfuse-ingestion-versi…
cursoragent Oct 7, 2026
e7e3f7c
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 7, 2026
d1cb7a1
Merge branch 'lfe-16917-python-sdk-add-python-315-support-and-drop-31…
cursoragent Oct 7, 2026
846cc7f
test(otel): pin that a mixed-case ingestion-version override wins
cursoragent Oct 7, 2026
14da611
fix(tracing): keep the exact digits of large integer metadata values
cursoragent Oct 7, 2026
ab0e49d
Merge branch 'lfe-17074-python-sdk-v5-send-x-langfuse-ingestion-versi…
cursoragent Oct 7, 2026
01a0596
Merge branch 'lfe-17078-python-sdk-v5-remove-blocked_instrumentation_…
cursoragent Oct 7, 2026
d2c4cff
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 7, 2026
5c4bb1f
Merge branch 'prepare-v5-release' into lfe-17080-python-sdk-v5-drop-o…
cursoragent Oct 7, 2026
3eea389
Merge branch 'lfe-17080-python-sdk-v5-drop-openai-sdk-10-support' int…
cursoragent Oct 7, 2026
6c0165d
Merge branch 'lfe-17074-python-sdk-v5-send-x-langfuse-ingestion-versi…
cursoragent Oct 7, 2026
2d45312
Merge branch 'lfe-17078-python-sdk-v5-remove-blocked_instrumentation_…
cursoragent Oct 7, 2026
32d121f
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 7, 2026
83acb2b
chore: re-run CI
cursoragent Oct 7, 2026
5f4b9a4
fix(tracing): match JS for nested big ints and non-finite metadata
cursoragent Oct 7, 2026
0405076
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 7, 2026
ac1eeb0
Merge branch 'prepare-v5-release' into lfe-17078-python-sdk-v5-remove…
cursoragent Oct 7, 2026
c7c709a
feat(client): keep host and LANGFUSE_HOST working without a warning
cursoragent Oct 7, 2026
cfa2acc
Merge branch 'lfe-17078-python-sdk-v5-remove-blocked_instrumentation_…
cursoragent Oct 7, 2026
a82ddda
Merge branch 'lfe-17061-python-sdk-v5-json-serialize-propagated-metad…
cursoragent Oct 7, 2026
e4948f4
Merge branch 'prepare-v5-release' into lfe-16769-bug-get_dataset_run-…
cursoragent Oct 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 0 additions & 84 deletions langfuse/_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,11 @@
Dataset,
DatasetItem,
DatasetItemMediaReferenceField,
DatasetRunWithItems,
DatasetStatus,
DeleteDatasetRunResponse,
Error,
LangfuseAPI,
MapValue,
NotFoundError,
PaginatedDatasetRuns,
Prompt_Chat,
Prompt_Text,
ScoreBody,
Expand Down Expand Up @@ -2504,87 +2501,6 @@ def get_dataset(
handle_fern_exception(e)
raise e

def get_dataset_run(
self, *, dataset_name: str, run_name: str
) -> DatasetRunWithItems:
"""Fetch a dataset run by dataset name and run name.

Args:
dataset_name (str): The name of the dataset.
run_name (str): The name of the run.

Returns:
DatasetRunWithItems: The dataset run with its items.
"""
try:
return cast(
DatasetRunWithItems,
self.api.datasets.get_run(
dataset_name=self._url_encode(dataset_name),
run_name=self._url_encode(run_name),
request_options=None,
),
)
except Error as e:
handle_fern_exception(e)
raise e

def get_dataset_runs(
self,
*,
dataset_name: str,
page: Optional[int] = None,
limit: Optional[int] = None,
) -> PaginatedDatasetRuns:
"""Fetch all runs for a dataset.

Args:
dataset_name (str): The name of the dataset.
page (Optional[int]): Page number, starts at 1.
limit (Optional[int]): Limit of items per page.

Returns:
PaginatedDatasetRuns: Paginated list of dataset runs.
"""
try:
return cast(
PaginatedDatasetRuns,
self.api.datasets.get_runs(
dataset_name=self._url_encode(dataset_name),
page=page,
limit=limit,
request_options=None,
),
)
except Error as e:
handle_fern_exception(e)
raise e

def delete_dataset_run(
self, *, dataset_name: str, run_name: str
) -> DeleteDatasetRunResponse:
"""Delete a dataset run and all its run items. This action is irreversible.

Args:
dataset_name (str): The name of the dataset.
run_name (str): The name of the run.

Returns:
DeleteDatasetRunResponse: Confirmation of deletion.
"""
try:
return cast(
DeleteDatasetRunResponse,
self.api.datasets.delete_run(
dataset_name=self._url_encode(dataset_name),
run_name=self._url_encode(run_name),
request_options=None,
),
)
except Error as e:
handle_fern_exception(e)
raise e

def run_experiment(
self,
*,
Expand Down
Loading