File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class Trace(pydantic.BaseModel):
1919 version : typing .Optional [str ]
2020 user_id : typing .Optional [str ] = pydantic .Field (alias = "userId" )
2121 metadata : typing .Optional [typing .Any ]
22+ public : typing .Optional [bool ] = pydantic .Field (description = "Public traces are accessible via url without login" )
2223
2324 def json (self , ** kwargs : typing .Any ) -> str :
2425 kwargs_with_defaults : typing .Any = {"by_alias" : True , "exclude_unset" : True , ** kwargs }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class CreateTraceRequest(pydantic.BaseModel):
1919 release : typing .Optional [str ]
2020 version : typing .Optional [str ]
2121 metadata : typing .Optional [typing .Any ]
22+ public : typing .Optional [bool ] = pydantic .Field (description = "Make trace publicly accessible via url" )
2223
2324 def json (self , ** kwargs : typing .Any ) -> str :
2425 kwargs_with_defaults : typing .Any = {"by_alias" : True , "exclude_unset" : True , ** kwargs }
You can’t perform that action at this time.
0 commit comments