Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions langfuse/api/resources/commons/types/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Trace(pydantic.BaseModel):
version: typing.Optional[str]
user_id: typing.Optional[str] = pydantic.Field(alias="userId")
metadata: typing.Optional[typing.Any]
public: typing.Optional[bool] = pydantic.Field(description="Public traces are accessible via url without login")

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down
1 change: 1 addition & 0 deletions langfuse/api/resources/trace/types/create_trace_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CreateTraceRequest(pydantic.BaseModel):
release: typing.Optional[str]
version: typing.Optional[str]
metadata: typing.Optional[typing.Any]
public: typing.Optional[bool] = pydantic.Field(description="Make trace publicly accessible via url")

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down