calibrate-python-sdk 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/PKG-INFO +1 -1
  2. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/pyproject.toml +1 -1
  3. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/__init__.py +6 -6
  4. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agents/client.py +5 -5
  5. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agents/raw_client.py +9 -9
  6. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/client.py +4 -4
  7. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/client_wrapper.py +2 -2
  8. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/environment.py +1 -1
  9. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/__init__.py +6 -6
  10. calibrate_python_sdk-0.0.3/src/artpark/types/routers_agent_tests_agent_response.py → calibrate_python_sdk-0.0.4/src/artpark/types/routers_agent_tools_agent_response.py +3 -3
  11. calibrate_python_sdk-0.0.3/src/artpark/types/routers_agent_tests_agent_response_type.py → calibrate_python_sdk-0.0.4/src/artpark/types/routers_agent_tools_agent_response_type.py +1 -1
  12. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/LICENSE +0 -0
  13. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/README.md +0 -0
  14. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/_default_clients.py +0 -0
  15. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agent_tests/__init__.py +0 -0
  16. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agent_tests/client.py +0 -0
  17. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agent_tests/raw_client.py +0 -0
  18. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/agents/__init__.py +0 -0
  19. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/__init__.py +0 -0
  20. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/api_error.py +0 -0
  21. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/datetime_utils.py +0 -0
  22. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/file.py +0 -0
  23. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/force_multipart.py +0 -0
  24. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_client.py +0 -0
  25. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_response.py +0 -0
  26. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_sse/__init__.py +0 -0
  27. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_sse/_api.py +0 -0
  28. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_sse/_decoders.py +0 -0
  29. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_sse/_exceptions.py +0 -0
  30. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/http_sse/_models.py +0 -0
  31. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/jsonable_encoder.py +0 -0
  32. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/logging.py +0 -0
  33. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/parse_error.py +0 -0
  34. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/pydantic_utilities.py +0 -0
  35. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/query_encoder.py +0 -0
  36. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/remove_none_from_dict.py +0 -0
  37. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/request_options.py +0 -0
  38. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/core/serialization.py +0 -0
  39. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/errors/__init__.py +0 -0
  40. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/errors/unprocessable_entity_error.py +0 -0
  41. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/py.typed +0 -0
  42. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/batch_run_request.py +0 -0
  43. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/batch_test_run.py +0 -0
  44. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/batch_test_run_response.py +0 -0
  45. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/batch_test_skip.py +0 -0
  46. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/http_validation_error.py +0 -0
  47. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/judge_result.py +0 -0
  48. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/resolve_agent_names_response.py +0 -0
  49. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/task_create_response.py +0 -0
  50. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/test_case_result.py +0 -0
  51. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/test_output.py +0 -0
  52. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/test_run_status_response.py +0 -0
  53. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/tool_call_output.py +0 -0
  54. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/validation_error.py +0 -0
  55. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/types/validation_error_loc_item.py +0 -0
  56. {calibrate_python_sdk-0.0.3 → calibrate_python_sdk-0.0.4}/src/artpark/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: calibrate-python-sdk
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.10,<4.0
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "calibrate-python-sdk"
7
- version = "0.0.3"
7
+ version = "0.0.4"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -14,8 +14,8 @@ if typing.TYPE_CHECKING:
14
14
  HttpValidationError,
15
15
  JudgeResult,
16
16
  ResolveAgentNamesResponse,
17
- RoutersAgentTestsAgentResponse,
18
- RoutersAgentTestsAgentResponseType,
17
+ RoutersAgentToolsAgentResponse,
18
+ RoutersAgentToolsAgentResponseType,
19
19
  TaskCreateResponse,
20
20
  TestCaseResult,
21
21
  TestOutput,
@@ -43,8 +43,8 @@ _dynamic_imports: typing.Dict[str, str] = {
43
43
  "HttpValidationError": ".types",
44
44
  "JudgeResult": ".types",
45
45
  "ResolveAgentNamesResponse": ".types",
46
- "RoutersAgentTestsAgentResponse": ".types",
47
- "RoutersAgentTestsAgentResponseType": ".types",
46
+ "RoutersAgentToolsAgentResponse": ".types",
47
+ "RoutersAgentToolsAgentResponseType": ".types",
48
48
  "TaskCreateResponse": ".types",
49
49
  "TestCaseResult": ".types",
50
50
  "TestOutput": ".types",
@@ -93,8 +93,8 @@ __all__ = [
93
93
  "HttpValidationError",
94
94
  "JudgeResult",
95
95
  "ResolveAgentNamesResponse",
96
- "RoutersAgentTestsAgentResponse",
97
- "RoutersAgentTestsAgentResponseType",
96
+ "RoutersAgentToolsAgentResponse",
97
+ "RoutersAgentToolsAgentResponseType",
98
98
  "TaskCreateResponse",
99
99
  "TestCaseResult",
100
100
  "TestOutput",
@@ -5,7 +5,7 @@ import typing
5
5
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
6
  from ..core.request_options import RequestOptions
7
7
  from ..types.resolve_agent_names_response import ResolveAgentNamesResponse
8
- from ..types.routers_agent_tests_agent_response import RoutersAgentTestsAgentResponse
8
+ from ..types.routers_agent_tools_agent_response import RoutersAgentToolsAgentResponse
9
9
  from .raw_client import AsyncRawAgentsClient, RawAgentsClient
10
10
 
11
11
  # this is used as the default value for optional parameters
@@ -68,7 +68,7 @@ class AgentsClient:
68
68
 
69
69
  def list(
70
70
  self, *, request_options: typing.Optional[RequestOptions] = None
71
- ) -> typing.List[RoutersAgentTestsAgentResponse]:
71
+ ) -> typing.List[RoutersAgentToolsAgentResponse]:
72
72
  """
73
73
  List all agents for the caller's current org.
74
74
 
@@ -84,7 +84,7 @@ class AgentsClient:
84
84
 
85
85
  Returns
86
86
  -------
87
- typing.List[RoutersAgentTestsAgentResponse]
87
+ typing.List[RoutersAgentToolsAgentResponse]
88
88
  Successful Response
89
89
 
90
90
  Examples
@@ -165,7 +165,7 @@ class AsyncAgentsClient:
165
165
 
166
166
  async def list(
167
167
  self, *, request_options: typing.Optional[RequestOptions] = None
168
- ) -> typing.List[RoutersAgentTestsAgentResponse]:
168
+ ) -> typing.List[RoutersAgentToolsAgentResponse]:
169
169
  """
170
170
  List all agents for the caller's current org.
171
171
 
@@ -181,7 +181,7 @@ class AsyncAgentsClient:
181
181
 
182
182
  Returns
183
183
  -------
184
- typing.List[RoutersAgentTestsAgentResponse]
184
+ typing.List[RoutersAgentToolsAgentResponse]
185
185
  Successful Response
186
186
 
187
187
  Examples
@@ -12,7 +12,7 @@ from ..core.request_options import RequestOptions
12
12
  from ..errors.unprocessable_entity_error import UnprocessableEntityError
13
13
  from ..types.http_validation_error import HttpValidationError
14
14
  from ..types.resolve_agent_names_response import ResolveAgentNamesResponse
15
- from ..types.routers_agent_tests_agent_response import RoutersAgentTestsAgentResponse
15
+ from ..types.routers_agent_tools_agent_response import RoutersAgentToolsAgentResponse
16
16
  from pydantic import ValidationError
17
17
 
18
18
  # this is used as the default value for optional parameters
@@ -91,7 +91,7 @@ class RawAgentsClient:
91
91
 
92
92
  def list(
93
93
  self, *, request_options: typing.Optional[RequestOptions] = None
94
- ) -> HttpResponse[typing.List[RoutersAgentTestsAgentResponse]]:
94
+ ) -> HttpResponse[typing.List[RoutersAgentToolsAgentResponse]]:
95
95
  """
96
96
  List all agents for the caller's current org.
97
97
 
@@ -107,7 +107,7 @@ class RawAgentsClient:
107
107
 
108
108
  Returns
109
109
  -------
110
- HttpResponse[typing.List[RoutersAgentTestsAgentResponse]]
110
+ HttpResponse[typing.List[RoutersAgentToolsAgentResponse]]
111
111
  Successful Response
112
112
  """
113
113
  _response = self._client_wrapper.httpx_client.request(
@@ -118,9 +118,9 @@ class RawAgentsClient:
118
118
  try:
119
119
  if 200 <= _response.status_code < 300:
120
120
  _data = typing.cast(
121
- typing.List[RoutersAgentTestsAgentResponse],
121
+ typing.List[RoutersAgentToolsAgentResponse],
122
122
  parse_obj_as(
123
- type_=typing.List[RoutersAgentTestsAgentResponse], # type: ignore
123
+ type_=typing.List[RoutersAgentToolsAgentResponse], # type: ignore
124
124
  object_=_response.json(),
125
125
  ),
126
126
  )
@@ -218,7 +218,7 @@ class AsyncRawAgentsClient:
218
218
 
219
219
  async def list(
220
220
  self, *, request_options: typing.Optional[RequestOptions] = None
221
- ) -> AsyncHttpResponse[typing.List[RoutersAgentTestsAgentResponse]]:
221
+ ) -> AsyncHttpResponse[typing.List[RoutersAgentToolsAgentResponse]]:
222
222
  """
223
223
  List all agents for the caller's current org.
224
224
 
@@ -234,7 +234,7 @@ class AsyncRawAgentsClient:
234
234
 
235
235
  Returns
236
236
  -------
237
- AsyncHttpResponse[typing.List[RoutersAgentTestsAgentResponse]]
237
+ AsyncHttpResponse[typing.List[RoutersAgentToolsAgentResponse]]
238
238
  Successful Response
239
239
  """
240
240
  _response = await self._client_wrapper.httpx_client.request(
@@ -245,9 +245,9 @@ class AsyncRawAgentsClient:
245
245
  try:
246
246
  if 200 <= _response.status_code < 300:
247
247
  _data = typing.cast(
248
- typing.List[RoutersAgentTestsAgentResponse],
248
+ typing.List[RoutersAgentToolsAgentResponse],
249
249
  parse_obj_as(
250
- type_=typing.List[RoutersAgentTestsAgentResponse], # type: ignore
250
+ type_=typing.List[RoutersAgentToolsAgentResponse], # type: ignore
251
251
  object_=_response.json(),
252
252
  ),
253
253
  )
@@ -28,7 +28,7 @@ class Calibrate:
28
28
 
29
29
 
30
30
 
31
- Defaults to CalibrateEnvironment.DEFAULT
31
+ Defaults to CalibrateEnvironment.PRODUCTION
32
32
 
33
33
 
34
34
 
@@ -72,7 +72,7 @@ class Calibrate:
72
72
  self,
73
73
  *,
74
74
  base_url: typing.Optional[str] = None,
75
- environment: CalibrateEnvironment = CalibrateEnvironment.DEFAULT,
75
+ environment: CalibrateEnvironment = CalibrateEnvironment.PRODUCTION,
76
76
  org_uuid: typing.Optional[str] = None,
77
77
  api_key: str,
78
78
  headers: typing.Optional[typing.Dict[str, str]] = None,
@@ -154,7 +154,7 @@ class AsyncCalibrate:
154
154
 
155
155
 
156
156
 
157
- Defaults to CalibrateEnvironment.DEFAULT
157
+ Defaults to CalibrateEnvironment.PRODUCTION
158
158
 
159
159
 
160
160
 
@@ -198,7 +198,7 @@ class AsyncCalibrate:
198
198
  self,
199
199
  *,
200
200
  base_url: typing.Optional[str] = None,
201
- environment: CalibrateEnvironment = CalibrateEnvironment.DEFAULT,
201
+ environment: CalibrateEnvironment = CalibrateEnvironment.PRODUCTION,
202
202
  org_uuid: typing.Optional[str] = None,
203
203
  api_key: str,
204
204
  headers: typing.Optional[typing.Dict[str, str]] = None,
@@ -35,12 +35,12 @@ class BaseClientWrapper:
35
35
  import platform
36
36
 
37
37
  headers: typing.Dict[str, str] = {
38
- "User-Agent": "calibrate-python-sdk/0.0.3",
38
+ "User-Agent": "calibrate-python-sdk/0.0.4",
39
39
  "X-Fern-Language": "Python",
40
40
  "X-Fern-Runtime": f"python/{platform.python_version()}",
41
41
  "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
42
42
  "X-Fern-SDK-Name": "calibrate-python-sdk",
43
- "X-Fern-SDK-Version": "0.0.3",
43
+ "X-Fern-SDK-Version": "0.0.4",
44
44
  **(self.get_custom_headers() or {}),
45
45
  }
46
46
  if self._org_uuid is not None:
@@ -4,4 +4,4 @@ import enum
4
4
 
5
5
 
6
6
  class CalibrateEnvironment(enum.Enum):
7
- DEFAULT = ""
7
+ PRODUCTION = "https://pense-backend.artpark.ai"
@@ -13,8 +13,8 @@ if typing.TYPE_CHECKING:
13
13
  from .http_validation_error import HttpValidationError
14
14
  from .judge_result import JudgeResult
15
15
  from .resolve_agent_names_response import ResolveAgentNamesResponse
16
- from .routers_agent_tests_agent_response import RoutersAgentTestsAgentResponse
17
- from .routers_agent_tests_agent_response_type import RoutersAgentTestsAgentResponseType
16
+ from .routers_agent_tools_agent_response import RoutersAgentToolsAgentResponse
17
+ from .routers_agent_tools_agent_response_type import RoutersAgentToolsAgentResponseType
18
18
  from .task_create_response import TaskCreateResponse
19
19
  from .test_case_result import TestCaseResult
20
20
  from .test_output import TestOutput
@@ -30,8 +30,8 @@ _dynamic_imports: typing.Dict[str, str] = {
30
30
  "HttpValidationError": ".http_validation_error",
31
31
  "JudgeResult": ".judge_result",
32
32
  "ResolveAgentNamesResponse": ".resolve_agent_names_response",
33
- "RoutersAgentTestsAgentResponse": ".routers_agent_tests_agent_response",
34
- "RoutersAgentTestsAgentResponseType": ".routers_agent_tests_agent_response_type",
33
+ "RoutersAgentToolsAgentResponse": ".routers_agent_tools_agent_response",
34
+ "RoutersAgentToolsAgentResponseType": ".routers_agent_tools_agent_response_type",
35
35
  "TaskCreateResponse": ".task_create_response",
36
36
  "TestCaseResult": ".test_case_result",
37
37
  "TestOutput": ".test_output",
@@ -71,8 +71,8 @@ __all__ = [
71
71
  "HttpValidationError",
72
72
  "JudgeResult",
73
73
  "ResolveAgentNamesResponse",
74
- "RoutersAgentTestsAgentResponse",
75
- "RoutersAgentTestsAgentResponseType",
74
+ "RoutersAgentToolsAgentResponse",
75
+ "RoutersAgentToolsAgentResponseType",
76
76
  "TaskCreateResponse",
77
77
  "TestCaseResult",
78
78
  "TestOutput",
@@ -6,13 +6,13 @@ import pydantic
6
6
  import typing_extensions
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
- from .routers_agent_tests_agent_response_type import RoutersAgentTestsAgentResponseType
9
+ from .routers_agent_tools_agent_response_type import RoutersAgentToolsAgentResponseType
10
10
 
11
11
 
12
- class RoutersAgentTestsAgentResponse(UniversalBaseModel):
12
+ class RoutersAgentToolsAgentResponse(UniversalBaseModel):
13
13
  uuid_: typing_extensions.Annotated[str, FieldMetadata(alias="uuid"), pydantic.Field(alias="uuid")]
14
14
  name: str
15
- type: RoutersAgentTestsAgentResponseType
15
+ type: RoutersAgentToolsAgentResponseType
16
16
  config: typing.Optional[typing.Dict[str, typing.Any]] = None
17
17
  created_at: str
18
18
  updated_at: str
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- RoutersAgentTestsAgentResponseType = typing.Union[typing.Literal["agent", "connection"], typing.Any]
5
+ RoutersAgentToolsAgentResponseType = typing.Union[typing.Literal["agent", "connection"], typing.Any]