Skip to content

Commit 944e93b

Browse files
author
langfuse-bot
committed
feat(api): update API spec from langfuse/langfuse 7c46d98
1 parent 8c8b120 commit 944e93b

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

langfuse/api/blob_storage_integrations/types/blob_storage_integration_file_type.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,27 @@
88

99

1010
class BlobStorageIntegrationFileType(enum.StrEnum):
11+
"""
12+
File format for exported data. `PARQUET` is a columnar binary format encoded and compressed by the storage engine; gzip compression does not apply to it. Note that the model-price columns (`input_price`, `output_price`, `total_price`) are not included in Parquet observation exports.
13+
"""
14+
1115
JSON = "JSON"
1216
CSV = "CSV"
1317
JSONL = "JSONL"
18+
PARQUET = "PARQUET"
1419

1520
def visit(
1621
self,
1722
json: typing.Callable[[], T_Result],
1823
csv: typing.Callable[[], T_Result],
1924
jsonl: typing.Callable[[], T_Result],
25+
parquet: typing.Callable[[], T_Result],
2026
) -> T_Result:
2127
if self is BlobStorageIntegrationFileType.JSON:
2228
return json()
2329
if self is BlobStorageIntegrationFileType.CSV:
2430
return csv()
2531
if self is BlobStorageIntegrationFileType.JSONL:
2632
return jsonl()
33+
if self is BlobStorageIntegrationFileType.PARQUET:
34+
return parquet()

langfuse/api/blob_storage_integrations/types/blob_storage_integration_file_type_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class BlobStorageIntegrationFileTypeResponse(enum.StrEnum):
1111
"""
12-
File type reported for an existing integration. Includes `PARQUET`, which a project may enable through the Langfuse UI but cannot yet be set via this API (the request `fileType` omits it).
12+
File type reported for an existing integration.
1313
"""
1414

1515
JSON = "JSON"

0 commit comments

Comments
 (0)