Skip to content

Commit 887af32

Browse files
authored
Response type from object upload doesn't need to be a pydantic model. (#971)
* Response type from object upload doesn't need to be a pydantic model. * Version bump.
1 parent 691c1fb commit 887af32

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

agentops/client/api/types.py

Lines changed: 1 addition & 2 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,7 +14,7 @@ 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"""
2019

2120
url: str

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "agentops"
7-
version = "0.4.11"
7+
version = "0.4.12"
88
authors = [
99
{ name="Alex Reibman", email="areibman@gmail.com" },
1010
{ name="Shawn Qiu", email="siyangqiu@gmail.com" },
@@ -59,7 +59,7 @@ test = [
5959
# CI will fail because all tests will automatically pull this dependency group;
6060
# we need a separate group specifically for integration tests which will run on pinned 3.1x
6161
# ------------------------------------------------------------------------------------------------------------------------------------
62-
# "crewai-tools @ git+https://github.com/crewAIInc/crewAI-tools.git@a14091abb24527c97ccfcc8539d529c8b4559a0f; python_version>='3.10'",
62+
# "crewai-tools @ git+https://github.com/crewAIInc/crewAI-tools.git@a14091abb24527c97ccfcc8539d529c8b4559a0f; python_version>='3.10'",
6363
# ------------------------------------------------------------------------------------------------------------------------------------
6464
# ;;
6565
"pytest-cov",

0 commit comments

Comments
 (0)