vellum-ai 0.6.2__py3-none-any.whl → 0.6.4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vellum/__init__.py +58 -2
- vellum/client.py +11 -15
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/__init__.py +2 -2
- vellum/resources/deployments/client.py +0 -167
- vellum/resources/sandboxes/client.py +167 -0
- vellum/resources/test_suites/client.py +175 -6
- vellum/resources/{prompt_versions → workflow_sandboxes}/client.py +39 -39
- vellum/types/__init__.py +60 -0
- vellum/types/bulk_create_test_suite_test_case_data_request.py +39 -0
- vellum/types/bulk_replace_test_suite_test_case_data_request.py +44 -0
- vellum/types/create_enum.py +5 -0
- vellum/types/created_enum.py +5 -0
- vellum/types/delete_enum.py +5 -0
- vellum/types/deleted_enum.py +5 -0
- vellum/types/replace_enum.py +5 -0
- vellum/types/replaced_enum.py +5 -0
- vellum/types/test_suite_test_case_bulk_operation_request.py +46 -0
- vellum/types/test_suite_test_case_bulk_result.py +58 -0
- vellum/types/test_suite_test_case_create_bulk_operation_request.py +35 -0
- vellum/types/test_suite_test_case_created_bulk_result.py +31 -0
- vellum/types/test_suite_test_case_created_bulk_result_data.py +29 -0
- vellum/types/test_suite_test_case_delete_bulk_operation_data_request.py +25 -0
- vellum/types/test_suite_test_case_delete_bulk_operation_request.py +38 -0
- vellum/types/test_suite_test_case_deleted_bulk_result.py +35 -0
- vellum/types/test_suite_test_case_deleted_bulk_result_data.py +29 -0
- vellum/types/test_suite_test_case_rejected_bulk_result.py +37 -0
- vellum/types/test_suite_test_case_replace_bulk_operation_request.py +35 -0
- vellum/types/test_suite_test_case_replaced_bulk_result.py +35 -0
- vellum/types/test_suite_test_case_replaced_bulk_result_data.py +29 -0
- {vellum_ai-0.6.2.dist-info → vellum_ai-0.6.4.dist-info}/METADATA +1 -1
- {vellum_ai-0.6.2.dist-info → vellum_ai-0.6.4.dist-info}/RECORD +35 -14
- /vellum/resources/{prompt_versions → workflow_sandboxes}/__init__.py +0 -0
- {vellum_ai-0.6.2.dist-info → vellum_ai-0.6.4.dist-info}/LICENSE +0 -0
- {vellum_ai-0.6.2.dist-info → vellum_ai-0.6.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from .test_suite_test_case_create_bulk_operation_request import TestSuiteTestCaseCreateBulkOperationRequest
|
8
|
+
from .test_suite_test_case_delete_bulk_operation_request import TestSuiteTestCaseDeleteBulkOperationRequest
|
9
|
+
from .test_suite_test_case_replace_bulk_operation_request import TestSuiteTestCaseReplaceBulkOperationRequest
|
10
|
+
|
11
|
+
|
12
|
+
class TestSuiteTestCaseBulkOperationRequest_Create(TestSuiteTestCaseCreateBulkOperationRequest):
|
13
|
+
type: typing.Literal["CREATE"] = "CREATE"
|
14
|
+
|
15
|
+
class Config:
|
16
|
+
frozen = True
|
17
|
+
smart_union = True
|
18
|
+
allow_population_by_field_name = True
|
19
|
+
populate_by_name = True
|
20
|
+
|
21
|
+
|
22
|
+
class TestSuiteTestCaseBulkOperationRequest_Replace(TestSuiteTestCaseReplaceBulkOperationRequest):
|
23
|
+
type: typing.Literal["REPLACE"] = "REPLACE"
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
allow_population_by_field_name = True
|
29
|
+
populate_by_name = True
|
30
|
+
|
31
|
+
|
32
|
+
class TestSuiteTestCaseBulkOperationRequest_Delete(TestSuiteTestCaseDeleteBulkOperationRequest):
|
33
|
+
type: typing.Literal["DELETE"] = "DELETE"
|
34
|
+
|
35
|
+
class Config:
|
36
|
+
frozen = True
|
37
|
+
smart_union = True
|
38
|
+
allow_population_by_field_name = True
|
39
|
+
populate_by_name = True
|
40
|
+
|
41
|
+
|
42
|
+
TestSuiteTestCaseBulkOperationRequest = typing.Union[
|
43
|
+
TestSuiteTestCaseBulkOperationRequest_Create,
|
44
|
+
TestSuiteTestCaseBulkOperationRequest_Replace,
|
45
|
+
TestSuiteTestCaseBulkOperationRequest_Delete,
|
46
|
+
]
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
from .test_suite_test_case_created_bulk_result import TestSuiteTestCaseCreatedBulkResult
|
8
|
+
from .test_suite_test_case_deleted_bulk_result import TestSuiteTestCaseDeletedBulkResult
|
9
|
+
from .test_suite_test_case_rejected_bulk_result import TestSuiteTestCaseRejectedBulkResult
|
10
|
+
from .test_suite_test_case_replaced_bulk_result import TestSuiteTestCaseReplacedBulkResult
|
11
|
+
|
12
|
+
|
13
|
+
class TestSuiteTestCaseBulkResult_Created(TestSuiteTestCaseCreatedBulkResult):
|
14
|
+
type: typing.Literal["CREATED"] = "CREATED"
|
15
|
+
|
16
|
+
class Config:
|
17
|
+
frozen = True
|
18
|
+
smart_union = True
|
19
|
+
allow_population_by_field_name = True
|
20
|
+
populate_by_name = True
|
21
|
+
|
22
|
+
|
23
|
+
class TestSuiteTestCaseBulkResult_Replaced(TestSuiteTestCaseReplacedBulkResult):
|
24
|
+
type: typing.Literal["REPLACED"] = "REPLACED"
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
allow_population_by_field_name = True
|
30
|
+
populate_by_name = True
|
31
|
+
|
32
|
+
|
33
|
+
class TestSuiteTestCaseBulkResult_Deleted(TestSuiteTestCaseDeletedBulkResult):
|
34
|
+
type: typing.Literal["DELETED"] = "DELETED"
|
35
|
+
|
36
|
+
class Config:
|
37
|
+
frozen = True
|
38
|
+
smart_union = True
|
39
|
+
allow_population_by_field_name = True
|
40
|
+
populate_by_name = True
|
41
|
+
|
42
|
+
|
43
|
+
class TestSuiteTestCaseBulkResult_Rejected(TestSuiteTestCaseRejectedBulkResult):
|
44
|
+
type: typing.Literal["REJECTED"] = "REJECTED"
|
45
|
+
|
46
|
+
class Config:
|
47
|
+
frozen = True
|
48
|
+
smart_union = True
|
49
|
+
allow_population_by_field_name = True
|
50
|
+
populate_by_name = True
|
51
|
+
|
52
|
+
|
53
|
+
TestSuiteTestCaseBulkResult = typing.Union[
|
54
|
+
TestSuiteTestCaseBulkResult_Created,
|
55
|
+
TestSuiteTestCaseBulkResult_Replaced,
|
56
|
+
TestSuiteTestCaseBulkResult_Deleted,
|
57
|
+
TestSuiteTestCaseBulkResult_Rejected,
|
58
|
+
]
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .bulk_create_test_suite_test_case_data_request import BulkCreateTestSuiteTestCaseDataRequest
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseCreateBulkOperationRequest(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
A bulk operation that represents the creation of a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str = pydantic_v1.Field()
|
17
|
+
"""
|
18
|
+
An ID representing this specific operation. Can later be used to look up information about the operation's success in the response.
|
19
|
+
"""
|
20
|
+
|
21
|
+
data: BulkCreateTestSuiteTestCaseDataRequest
|
22
|
+
|
23
|
+
def json(self, **kwargs: typing.Any) -> str:
|
24
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
25
|
+
return super().json(**kwargs_with_defaults)
|
26
|
+
|
27
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
28
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
29
|
+
return super().dict(**kwargs_with_defaults)
|
30
|
+
|
31
|
+
class Config:
|
32
|
+
frozen = True
|
33
|
+
smart_union = True
|
34
|
+
extra = pydantic_v1.Extra.allow
|
35
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .test_suite_test_case_created_bulk_result_data import TestSuiteTestCaseCreatedBulkResultData
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseCreatedBulkResult(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
The result of a bulk operation that created a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str
|
17
|
+
data: TestSuiteTestCaseCreatedBulkResultData
|
18
|
+
|
19
|
+
def json(self, **kwargs: typing.Any) -> str:
|
20
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
21
|
+
return super().json(**kwargs_with_defaults)
|
22
|
+
|
23
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
24
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
25
|
+
return super().dict(**kwargs_with_defaults)
|
26
|
+
|
27
|
+
class Config:
|
28
|
+
frozen = True
|
29
|
+
smart_union = True
|
30
|
+
extra = pydantic_v1.Extra.allow
|
31
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class TestSuiteTestCaseCreatedBulkResultData(pydantic_v1.BaseModel):
|
11
|
+
"""
|
12
|
+
Information about the Test Case that was created.
|
13
|
+
"""
|
14
|
+
|
15
|
+
id: str
|
16
|
+
|
17
|
+
def json(self, **kwargs: typing.Any) -> str:
|
18
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
19
|
+
return super().json(**kwargs_with_defaults)
|
20
|
+
|
21
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
22
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
23
|
+
return super().dict(**kwargs_with_defaults)
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
extra = pydantic_v1.Extra.allow
|
29
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class TestSuiteTestCaseDeleteBulkOperationDataRequest(pydantic_v1.BaseModel):
|
11
|
+
id: str
|
12
|
+
|
13
|
+
def json(self, **kwargs: typing.Any) -> str:
|
14
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
15
|
+
return super().json(**kwargs_with_defaults)
|
16
|
+
|
17
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
18
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
19
|
+
return super().dict(**kwargs_with_defaults)
|
20
|
+
|
21
|
+
class Config:
|
22
|
+
frozen = True
|
23
|
+
smart_union = True
|
24
|
+
extra = pydantic_v1.Extra.allow
|
25
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .test_suite_test_case_delete_bulk_operation_data_request import TestSuiteTestCaseDeleteBulkOperationDataRequest
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseDeleteBulkOperationRequest(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
A bulk operation that represents the deletion of a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str = pydantic_v1.Field()
|
17
|
+
"""
|
18
|
+
An ID representing this specific operation. Can later be used to look up information about the operation's success in the response.
|
19
|
+
"""
|
20
|
+
|
21
|
+
data: TestSuiteTestCaseDeleteBulkOperationDataRequest = pydantic_v1.Field()
|
22
|
+
"""
|
23
|
+
Information about the Test Case to delete
|
24
|
+
"""
|
25
|
+
|
26
|
+
def json(self, **kwargs: typing.Any) -> str:
|
27
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
28
|
+
return super().json(**kwargs_with_defaults)
|
29
|
+
|
30
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
31
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
32
|
+
return super().dict(**kwargs_with_defaults)
|
33
|
+
|
34
|
+
class Config:
|
35
|
+
frozen = True
|
36
|
+
smart_union = True
|
37
|
+
extra = pydantic_v1.Extra.allow
|
38
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .test_suite_test_case_deleted_bulk_result_data import TestSuiteTestCaseDeletedBulkResultData
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseDeletedBulkResult(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
The result of a bulk operation that deleted a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str = pydantic_v1.Field()
|
17
|
+
"""
|
18
|
+
An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation.
|
19
|
+
"""
|
20
|
+
|
21
|
+
data: TestSuiteTestCaseDeletedBulkResultData
|
22
|
+
|
23
|
+
def json(self, **kwargs: typing.Any) -> str:
|
24
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
25
|
+
return super().json(**kwargs_with_defaults)
|
26
|
+
|
27
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
28
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
29
|
+
return super().dict(**kwargs_with_defaults)
|
30
|
+
|
31
|
+
class Config:
|
32
|
+
frozen = True
|
33
|
+
smart_union = True
|
34
|
+
extra = pydantic_v1.Extra.allow
|
35
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class TestSuiteTestCaseDeletedBulkResultData(pydantic_v1.BaseModel):
|
11
|
+
"""
|
12
|
+
Information about the Test Case that was deleted
|
13
|
+
"""
|
14
|
+
|
15
|
+
id: str
|
16
|
+
|
17
|
+
def json(self, **kwargs: typing.Any) -> str:
|
18
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
19
|
+
return super().json(**kwargs_with_defaults)
|
20
|
+
|
21
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
22
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
23
|
+
return super().dict(**kwargs_with_defaults)
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
extra = pydantic_v1.Extra.allow
|
29
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class TestSuiteTestCaseRejectedBulkResult(pydantic_v1.BaseModel):
|
11
|
+
"""
|
12
|
+
The result of a bulk operation that failed to operate on a Test Case.
|
13
|
+
"""
|
14
|
+
|
15
|
+
id: str = pydantic_v1.Field()
|
16
|
+
"""
|
17
|
+
An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation.
|
18
|
+
"""
|
19
|
+
|
20
|
+
data: typing.Dict[str, typing.Any] = pydantic_v1.Field()
|
21
|
+
"""
|
22
|
+
Details about the error that occurred
|
23
|
+
"""
|
24
|
+
|
25
|
+
def json(self, **kwargs: typing.Any) -> str:
|
26
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
27
|
+
return super().json(**kwargs_with_defaults)
|
28
|
+
|
29
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
30
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
31
|
+
return super().dict(**kwargs_with_defaults)
|
32
|
+
|
33
|
+
class Config:
|
34
|
+
frozen = True
|
35
|
+
smart_union = True
|
36
|
+
extra = pydantic_v1.Extra.allow
|
37
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .bulk_replace_test_suite_test_case_data_request import BulkReplaceTestSuiteTestCaseDataRequest
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseReplaceBulkOperationRequest(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
A bulk operation that represents the replacing of a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str = pydantic_v1.Field()
|
17
|
+
"""
|
18
|
+
An ID representing this specific operation. Can later be used to look up information about the operation's success in the response.
|
19
|
+
"""
|
20
|
+
|
21
|
+
data: BulkReplaceTestSuiteTestCaseDataRequest
|
22
|
+
|
23
|
+
def json(self, **kwargs: typing.Any) -> str:
|
24
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
25
|
+
return super().json(**kwargs_with_defaults)
|
26
|
+
|
27
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
28
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
29
|
+
return super().dict(**kwargs_with_defaults)
|
30
|
+
|
31
|
+
class Config:
|
32
|
+
frozen = True
|
33
|
+
smart_union = True
|
34
|
+
extra = pydantic_v1.Extra.allow
|
35
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
from .test_suite_test_case_replaced_bulk_result_data import TestSuiteTestCaseReplacedBulkResultData
|
9
|
+
|
10
|
+
|
11
|
+
class TestSuiteTestCaseReplacedBulkResult(pydantic_v1.BaseModel):
|
12
|
+
"""
|
13
|
+
The result of a bulk operation that replaced a Test Case.
|
14
|
+
"""
|
15
|
+
|
16
|
+
id: str = pydantic_v1.Field()
|
17
|
+
"""
|
18
|
+
An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation.
|
19
|
+
"""
|
20
|
+
|
21
|
+
data: TestSuiteTestCaseReplacedBulkResultData
|
22
|
+
|
23
|
+
def json(self, **kwargs: typing.Any) -> str:
|
24
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
25
|
+
return super().json(**kwargs_with_defaults)
|
26
|
+
|
27
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
28
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
29
|
+
return super().dict(**kwargs_with_defaults)
|
30
|
+
|
31
|
+
class Config:
|
32
|
+
frozen = True
|
33
|
+
smart_union = True
|
34
|
+
extra = pydantic_v1.Extra.allow
|
35
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class TestSuiteTestCaseReplacedBulkResultData(pydantic_v1.BaseModel):
|
11
|
+
"""
|
12
|
+
Information about the Test Case that was replaced
|
13
|
+
"""
|
14
|
+
|
15
|
+
id: str
|
16
|
+
|
17
|
+
def json(self, **kwargs: typing.Any) -> str:
|
18
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
19
|
+
return super().json(**kwargs_with_defaults)
|
20
|
+
|
21
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
22
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
23
|
+
return super().dict(**kwargs_with_defaults)
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
extra = pydantic_v1.Extra.allow
|
29
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
vellum/__init__.py,sha256=
|
2
|
-
vellum/client.py,sha256=
|
1
|
+
vellum/__init__.py,sha256=7aKsuZge9dDZncC299GYskQc1AJ1GUkJ64doEDqHmS4,44855
|
2
|
+
vellum/client.py,sha256=FklbOzCaDTPP_EQn0HJXUq1_ZFOHuSePt6_nVQ_YLgY,97463
|
3
3
|
vellum/core/__init__.py,sha256=1pNSKkwyQvMl_F0wohBqmoQAITptg3zlvCwsoSSzy7c,853
|
4
4
|
vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
5
|
-
vellum/core/client_wrapper.py,sha256=
|
5
|
+
vellum/core/client_wrapper.py,sha256=LAmDIndEooz_x9oVaUk8OCp9HJDoHlb9_mnFhDkh9bA,1697
|
6
6
|
vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
7
7
|
vellum/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
8
8
|
vellum/core/http_client.py,sha256=5ok6hqgZDJhg57EHvMnr0BBaHdG50QxFPKaCZ9aVWTc,5059
|
@@ -26,9 +26,9 @@ vellum/lib/utils/env.py,sha256=ySl859lYBfls8hmlaU_RFdquHa_A_7SzaC6KEdFqh1Y,298
|
|
26
26
|
vellum/lib/utils/exceptions.py,sha256=dXMAkzqbHV_AP5FjjbegPlfUE0zQDlpA3qOsoOJUxfg,49
|
27
27
|
vellum/lib/utils/paginator.py,sha256=yDvgehocYBDclLt5SewZH4hCIyq0yLHdBzkyPCoYPjs,698
|
28
28
|
vellum/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
vellum/resources/__init__.py,sha256=
|
29
|
+
vellum/resources/__init__.py,sha256=K9Pl_nZ5i7-cdT-rzttq8bZxustkIxPjDhcDEitCLoA,780
|
30
30
|
vellum/resources/deployments/__init__.py,sha256=AE0TcFwLrLBljM0ZDX-pPw4Kqt-1f5JDpIok2HS80QI,157
|
31
|
-
vellum/resources/deployments/client.py,sha256=p-
|
31
|
+
vellum/resources/deployments/client.py,sha256=p-n2k6RQIwNBDm9dU-wE6pI0kRhNjQiARBeQYWX9wuM,30612
|
32
32
|
vellum/resources/deployments/types/__init__.py,sha256=IhwnmoXJ0r_QEhh1b2tBcaAm_x3fWMVuIhYmAapp_ZA,183
|
33
33
|
vellum/resources/deployments/types/deployments_list_request_status.py,sha256=CxlQD16KZXme7x31YYCe_3aAgEueutDTeJo5A4Au-aU,174
|
34
34
|
vellum/resources/document_indexes/__init__.py,sha256=YpOl_9IV7xOlH4OmusQxtAJB11kxQfCSMDyT1_UD0oM,165
|
@@ -39,18 +39,18 @@ vellum/resources/documents/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roe
|
|
39
39
|
vellum/resources/documents/client.py,sha256=lzi8zUVIo8eJA_fyqIjzho1FRGZrCTvNaIcFDQfaGEk,34322
|
40
40
|
vellum/resources/folder_entities/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
41
41
|
vellum/resources/folder_entities/client.py,sha256=dbq-WQ9Rh7zvB4i_U_FXqF1qvRhSEsJqOq6dKr7_PzY,6435
|
42
|
-
vellum/resources/prompt_versions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
43
|
-
vellum/resources/prompt_versions/client.py,sha256=Yccl4TXz9tiNg94CV4OjlfjOOaU_dypb0-HYWSllPzk,9294
|
44
42
|
vellum/resources/sandboxes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
45
|
-
vellum/resources/sandboxes/client.py,sha256=
|
43
|
+
vellum/resources/sandboxes/client.py,sha256=Lm45GGIRSODx5WJbyXP3ThR3FB8QSPajMWiqvnpVsIc,21168
|
46
44
|
vellum/resources/test_suite_runs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
47
45
|
vellum/resources/test_suite_runs/client.py,sha256=LOcjVwBAgQF__yEGvsbZpjBhefGtLL1vnSqJ1K3uly0,18728
|
48
46
|
vellum/resources/test_suites/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
49
|
-
vellum/resources/test_suites/client.py,sha256
|
47
|
+
vellum/resources/test_suites/client.py,sha256=-2c6_FPv0Hh-cni3vDpXb26JJAcW8p1hGXpyYfjs0WM,27268
|
50
48
|
vellum/resources/workflow_deployments/__init__.py,sha256=-5BCA0kSmW6WUh4gqLuQtHv4zFdt9lccuDwMU5YvEu4,173
|
51
49
|
vellum/resources/workflow_deployments/client.py,sha256=Oal32DF472B46CBWkb8GgDonjyAFQ28hHV5lq4DF1AM,22437
|
52
50
|
vellum/resources/workflow_deployments/types/__init__.py,sha256=rmS_4dtbgLHGNQJ_pOloygrjl4sNbKZjTEKBxbMyz6E,208
|
53
51
|
vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py,sha256=FXVkVmGM6DZ2RpTGnZXWJYiVlLQ-K5fDtX3WMaBPaWk,182
|
52
|
+
vellum/resources/workflow_sandboxes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
53
|
+
vellum/resources/workflow_sandboxes/client.py,sha256=BR9Lw9x2bNBaLZ6dd6uHI7xCv1WwrsuSDwmLi1NbJOk,9499
|
54
54
|
vellum/terraform/__init__.py,sha256=t69swjCfZmrf7tmHcUYVHH5bflrp1Ax2YnbwNMuG2YQ,454
|
55
55
|
vellum/terraform/_jsii/__init__.py,sha256=AV9B1-EC-DQ2MSTWojcpbHjahvoZxNaYeZ6aCi5SXEQ,473
|
56
56
|
vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz,sha256=e1tV8nF_TEMLqCNrRBkDIlXKfO65c0lGj92G-CzeAVI,15887
|
@@ -60,7 +60,7 @@ vellum/terraform/document_index/__init__.py,sha256=qq2zENI22bUvqGk_a1lmsoTr5O_xC
|
|
60
60
|
vellum/terraform/provider/__init__.py,sha256=K1yLlTZkYBxhD4bhUV1v23hxDGgbfsAIGsSyeB54dNQ,10298
|
61
61
|
vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
62
62
|
vellum/terraform/versions.json,sha256=STW6Mg3BKDacFmbWHXziHxE90GWncZf4AIzCLiXm_7o,56
|
63
|
-
vellum/types/__init__.py,sha256=
|
63
|
+
vellum/types/__init__.py,sha256=m_bPT573NbzP7hGs8Ykc-qbN9XnIT3pSO0Mox1iwH_8,60130
|
64
64
|
vellum/types/add_openai_api_key_enum.py,sha256=GB7sLK_Ou7-Xn73sKJHUo6Gx3TjyhU7uJvWZAg4UeaI,92
|
65
65
|
vellum/types/api_node_result.py,sha256=SvYIi1T-N_P3FVjzv9I91PaCT0IN958A3easp5Q7jqE,983
|
66
66
|
vellum/types/api_node_result_data.py,sha256=KFBmmizcEg73GwQMXUtEdJ4e9YGFpRLYAnalwxIcDug,1161
|
@@ -77,6 +77,8 @@ vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1.
|
|
77
77
|
vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1_request.py,sha256=grnDm5vh1wofvXLCQVUfA2wYYFce03hRGHCECNFJ7kk,1043
|
78
78
|
vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1.py,sha256=HbB1bJpoUuRt-orgOThdrcB0RiBTNHVuTBOehitN3tQ,1036
|
79
79
|
vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1_request.py,sha256=0N_YrysJ-HVPBaUDD56V1Fxu1aZQJNMt7O6heY-Z5hY,1043
|
80
|
+
vellum/types/bulk_create_test_suite_test_case_data_request.py,sha256=hY6n2s-bmZrxR3Nyb2xhetqRNkYbH7BK-cAxz44VBPs,1376
|
81
|
+
vellum/types/bulk_replace_test_suite_test_case_data_request.py,sha256=d_SQFs_wCcBbAo31ze9xGZixSegw6nDQqs0VbIcJf6g,1469
|
80
82
|
vellum/types/chat_history_enum.py,sha256=etXbSJGuOjEcYXyCoQEw0bd9sfbZZNctMQyFoCdnywM,129
|
81
83
|
vellum/types/chat_history_input_request.py,sha256=iBqK5uT7wzR2C9TPvtQfugUeL1-4kOg_KQAc7fWYpnk,1121
|
82
84
|
vellum/types/chat_message.py,sha256=jROO5ASj_l0MoGGmno1TCUP7aMLIk48miMDWHpKUn_w,1213
|
@@ -97,6 +99,10 @@ vellum/types/code_execution_node_search_results_result.py,sha256=sX2alyDbwH6M8X-
|
|
97
99
|
vellum/types/code_execution_node_string_result.py,sha256=w_FeNnHyjpc-bjXPKBxHywO6lLszNGqia9xgYInIs0w,903
|
98
100
|
vellum/types/conditional_node_result.py,sha256=mR8FHOnTwLDO8U5uVNB2SkDrJSDRkcyLqXPSSL8Dil4,1022
|
99
101
|
vellum/types/conditional_node_result_data.py,sha256=BoSK8B_qDx-CztZw5qwl2Gk0Ow56gifNu2Ahg-P15iE,898
|
102
|
+
vellum/types/create_enum.py,sha256=38jp66mStym6pDxoXS4z6y7bfArh1jgjjV8xgf4KBBw,118
|
103
|
+
vellum/types/created_enum.py,sha256=_dfKJhEenYcIUYY1uKQuq1uNS3k9HbPGCxXnW-Tu5uo,120
|
104
|
+
vellum/types/delete_enum.py,sha256=g6Rnc2pbgXkEbqhG0Bx1z-ZGr4DMkb8QK8du9dQQcpQ,118
|
105
|
+
vellum/types/deleted_enum.py,sha256=F7VTcnxIkXrwyQr5CjGikBbCnlo6To_rP0pibWm-ioo,120
|
100
106
|
vellum/types/deployment_provider_payload_response.py,sha256=nEw7v0EVo3NgKDVtsBMjd9XLWmFAGk59U1Z-qSs-Stc,898
|
101
107
|
vellum/types/deployment_read.py,sha256=q3xfBEKQ8HsXc9en1c3oKSGQbyTc-xY54puIEe20okM,1938
|
102
108
|
vellum/types/deployment_release_tag_deployment_history_item.py,sha256=997C-J0NOEvOm7Y_dyyaqYvKMIEHCDj0JEpAcmOjOEQ,903
|
@@ -268,6 +274,8 @@ vellum/types/rejected_execute_workflow_workflow_result_event.py,sha256=acYvyXoZf
|
|
268
274
|
vellum/types/rejected_prompt_execution_meta.py,sha256=kBS6bThYk1vvhKv47UB0FZP7WuCBoCAsbTnK43XQWbI,1138
|
269
275
|
vellum/types/rejected_workflow_node_result_event.py,sha256=NbHR7Dhd9QBxDY9AMVM3uHx6HkgPiW6C0LaBGktGycA,1293
|
270
276
|
vellum/types/release_tag_source.py,sha256=YavosOXZ976yfXTNWRTZwh2HhRiYmSDk0bQCkl-jCoQ,158
|
277
|
+
vellum/types/replace_enum.py,sha256=A27UrZHyriKUSLCJDDG3mQmWyoFDpUKiutwfhZMc0Sw,120
|
278
|
+
vellum/types/replaced_enum.py,sha256=oC-pUajQvOhS1G5G55GS2Jdaityny520XbnrD1nuOD8,122
|
271
279
|
vellum/types/sandbox_scenario.py,sha256=-MaSvpH6jSokr5XsCZybafKez3fnPctTFqm30Lfk8Ko,1144
|
272
280
|
vellum/types/scenario_input.py,sha256=6_jN2JaqgEOkQpP5h17l5HeRhI_kdNMD_jjVyNFDM7Q,907
|
273
281
|
vellum/types/scenario_input_chat_history_variable_value.py,sha256=j5CbnDsEQYHwVxXLSJFrXMDYKHCnvGYgDpozJ9NxB0A,1071
|
@@ -380,6 +388,19 @@ vellum/types/test_suite_run_workflow_release_tag_exec_config_data_request.py,sha
|
|
380
388
|
vellum/types/test_suite_run_workflow_release_tag_exec_config_request.py,sha256=P0zRtzh7ekun8pcEH2EFTB6p4Kq54cE955Vff4q6-dE,1405
|
381
389
|
vellum/types/test_suite_run_workflow_release_tag_exec_config_type_enum.py,sha256=JMN3-aK8SWJzTli6c-j9xmHSYVwGND1PaZgGzwwkMjo,170
|
382
390
|
vellum/types/test_suite_test_case.py,sha256=Zi4uLAXIgZnecVdrG0BTKA4I8Ri_Qrt83OuClyQkzIc,1086
|
391
|
+
vellum/types/test_suite_test_case_bulk_operation_request.py,sha256=eDAZV9NwbvH_dhaTmzUaHC5858B47Dqz7Dq6_kIXtu0,1528
|
392
|
+
vellum/types/test_suite_test_case_bulk_result.py,sha256=Cu3zBu6PFltkTsQRcdzA5dcVAyESK6U3jMcMfe28K44,1798
|
393
|
+
vellum/types/test_suite_test_case_create_bulk_operation_request.py,sha256=W8-aXODDF5oWjshwJdBagajEzukN2lC-2_9XY27Bmoo,1283
|
394
|
+
vellum/types/test_suite_test_case_created_bulk_result.py,sha256=hUH8duBtZsrWXp7p0kZeCoP5W48Ioui-9fjoXycCnSA,1094
|
395
|
+
vellum/types/test_suite_test_case_created_bulk_result_data.py,sha256=7_3ZxGLWHxP0Ggft7LeunDjY0ZaMgJ3yMpgFJRKw1_k,944
|
396
|
+
vellum/types/test_suite_test_case_delete_bulk_operation_data_request.py,sha256=JUON1LJ8pBIzpsICjk6qIMSzg4Ctjrf2DYCNAzhPwCY,882
|
397
|
+
vellum/types/test_suite_test_case_delete_bulk_operation_request.py,sha256=UWtptA-rAuDaBL133784D8jn015t__y8NQV1Q7XXDmk,1395
|
398
|
+
vellum/types/test_suite_test_case_deleted_bulk_result.py,sha256=1CsSapclH45R6Jje8D5fPDvzajUsaMtNbfMIYu0FZuU,1261
|
399
|
+
vellum/types/test_suite_test_case_deleted_bulk_result_data.py,sha256=ua_wuUfrrXSYbG-m17Hdw1lEJBQnzn8s6M6W2t0RvHA,943
|
400
|
+
vellum/types/test_suite_test_case_rejected_bulk_result.py,sha256=gvBqlLu-vxRVJIweNaTOS_LSm_JMfLlzPxMUTgYwS0c,1247
|
401
|
+
vellum/types/test_suite_test_case_replace_bulk_operation_request.py,sha256=ZwmyWyYDQlEaAC6bGQMeHVMQxIucA4hKvMvx4FgAll4,1288
|
402
|
+
vellum/types/test_suite_test_case_replaced_bulk_result.py,sha256=36m3raleko_4VQXCIGexVlHZ8CiIJ9Fg73vv3Bivuck,1266
|
403
|
+
vellum/types/test_suite_test_case_replaced_bulk_result_data.py,sha256=fbH0CsKTE-bhEqzCa_ZFR2X3aX7JhungfEfueuIQkP4,945
|
383
404
|
vellum/types/text_embedding_3_large_enum.py,sha256=mniEbUgFr40fnVAGnlL_aNaFET3PhrQ8flune0mm2H4,147
|
384
405
|
vellum/types/text_embedding_3_small_enum.py,sha256=_fBJkCGGk8o9FD19oWq_ARJHIU3KjPTKMPGSvAe3Vxw,147
|
385
406
|
vellum/types/text_embedding_ada_002_enum.py,sha256=FzY5woDqAEElY-ulFR9u7Rrw93KKhGiVwBkrmE1URxM,147
|
@@ -438,7 +459,7 @@ vellum/types/workflow_result_event_output_data_search_results.py,sha256=gazaUrC5
|
|
438
459
|
vellum/types/workflow_result_event_output_data_string.py,sha256=aVWIIGbLj4TJJhTTj6WzhbYXQkcZatKuhhNy8UYwXbw,1482
|
439
460
|
vellum/types/workflow_stream_event.py,sha256=KA6Bkk_XA6AIPWR-1vKnwF1A8l_Bm5y0arQCWWWRpsk,911
|
440
461
|
vellum/version.py,sha256=neLt8HBHHUtDF9M5fsyUzHT-pKooEPvceaLDqqIGb0s,77
|
441
|
-
vellum_ai-0.6.
|
442
|
-
vellum_ai-0.6.
|
443
|
-
vellum_ai-0.6.
|
444
|
-
vellum_ai-0.6.
|
462
|
+
vellum_ai-0.6.4.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
|
463
|
+
vellum_ai-0.6.4.dist-info/METADATA,sha256=Y5gS7YXyKOfHyJOHFZfDWmXeutOluhSu8wAo4V6F3K0,3591
|
464
|
+
vellum_ai-0.6.4.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
465
|
+
vellum_ai-0.6.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|