Skip to content

Commit 6187bd9

Browse files
committed
Response type from object upload doesn't need to be a pydantic model.
1 parent 96e3059 commit 6187bd9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

agentops/client/api/types.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"""
66

77
from typing import TypedDict
8-
from pydantic import BaseModel
98

109

1110
class AuthTokenResponse(TypedDict):
@@ -15,8 +14,8 @@ class AuthTokenResponse(TypedDict):
1514
project_id: str
1615

1716

18-
class UploadedObjectResponse(BaseModel):
17+
class UploadedObjectResponse(TypedDict):
1918
"""Response from the v4/objects/upload endpoint"""
19+
2020
url: str
2121
size: int
22-

0 commit comments

Comments
 (0)