vellum-ai 0.6.1__py3-none-any.whl → 0.6.2__py3-none-any.whl
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.
- vellum/__init__.py +14 -0
- vellum/client.py +3 -0
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/__init__.py +2 -0
- vellum/resources/deployments/client.py +416 -0
- vellum/resources/prompt_versions/__init__.py +2 -0
- vellum/resources/prompt_versions/client.py +192 -0
- vellum/resources/workflow_deployments/client.py +252 -0
- vellum/types/__init__.py +12 -0
- vellum/types/deployment_release_tag_deployment_history_item.py +26 -0
- vellum/types/deployment_release_tag_read.py +43 -0
- vellum/types/release_tag_source.py +5 -0
- vellum/types/subworkflow_node_result.py +3 -0
- vellum/types/subworkflow_node_result_data.py +25 -0
- vellum/types/workflow_release_tag_read.py +43 -0
- vellum/types/workflow_release_tag_workflow_deployment_history_item.py +33 -0
- {vellum_ai-0.6.1.dist-info → vellum_ai-0.6.2.dist-info}/METADATA +1 -1
- {vellum_ai-0.6.1.dist-info → vellum_ai-0.6.2.dist-info}/RECORD +20 -12
- {vellum_ai-0.6.1.dist-info → vellum_ai-0.6.2.dist-info}/LICENSE +0 -0
- {vellum_ai-0.6.1.dist-info → vellum_ai-0.6.2.dist-info}/WHEEL +0 -0
| @@ -0,0 +1,43 @@ | |
| 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 .release_tag_source import ReleaseTagSource
         | 
| 9 | 
            +
            from .workflow_release_tag_workflow_deployment_history_item import WorkflowReleaseTagWorkflowDeploymentHistoryItem
         | 
| 10 | 
            +
             | 
| 11 | 
            +
             | 
| 12 | 
            +
            class WorkflowReleaseTagRead(pydantic_v1.BaseModel):
         | 
| 13 | 
            +
                name: str = pydantic_v1.Field()
         | 
| 14 | 
            +
                """
         | 
| 15 | 
            +
                The name of the Release Tag
         | 
| 16 | 
            +
                """
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                source: ReleaseTagSource = pydantic_v1.Field()
         | 
| 19 | 
            +
                """
         | 
| 20 | 
            +
                The source of how the Release Tag was originally created
         | 
| 21 | 
            +
                
         | 
| 22 | 
            +
                - `SYSTEM` - System
         | 
| 23 | 
            +
                - `USER` - User
         | 
| 24 | 
            +
                """
         | 
| 25 | 
            +
             | 
| 26 | 
            +
                history_item: WorkflowReleaseTagWorkflowDeploymentHistoryItem = pydantic_v1.Field()
         | 
| 27 | 
            +
                """
         | 
| 28 | 
            +
                The Workflow Deployment History Item that this Release Tag is associated with
         | 
| 29 | 
            +
                """
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                def json(self, **kwargs: typing.Any) -> str:
         | 
| 32 | 
            +
                    kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
         | 
| 33 | 
            +
                    return super().json(**kwargs_with_defaults)
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
         | 
| 36 | 
            +
                    kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
         | 
| 37 | 
            +
                    return super().dict(**kwargs_with_defaults)
         | 
| 38 | 
            +
             | 
| 39 | 
            +
                class Config:
         | 
| 40 | 
            +
                    frozen = True
         | 
| 41 | 
            +
                    smart_union = True
         | 
| 42 | 
            +
                    extra = pydantic_v1.Extra.allow
         | 
| 43 | 
            +
                    json_encoders = {dt.datetime: serialize_datetime}
         | 
| @@ -0,0 +1,33 @@ | |
| 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 WorkflowReleaseTagWorkflowDeploymentHistoryItem(pydantic_v1.BaseModel):
         | 
| 11 | 
            +
                id: str = pydantic_v1.Field()
         | 
| 12 | 
            +
                """
         | 
| 13 | 
            +
                The ID of the Workflow Deployment History Item
         | 
| 14 | 
            +
                """
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                timestamp: dt.datetime = pydantic_v1.Field()
         | 
| 17 | 
            +
                """
         | 
| 18 | 
            +
                The timestamp representing when this History Item was created
         | 
| 19 | 
            +
                """
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                def json(self, **kwargs: typing.Any) -> str:
         | 
| 22 | 
            +
                    kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
         | 
| 23 | 
            +
                    return super().json(**kwargs_with_defaults)
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
         | 
| 26 | 
            +
                    kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
         | 
| 27 | 
            +
                    return super().dict(**kwargs_with_defaults)
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                class Config:
         | 
| 30 | 
            +
                    frozen = True
         | 
| 31 | 
            +
                    smart_union = True
         | 
| 32 | 
            +
                    extra = pydantic_v1.Extra.allow
         | 
| 33 | 
            +
                    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=1iMx__bCxAn4JeEifrkOKWvmKA5kbp4o0Fek3q64kbQ,42635
         | 
| 2 | 
            +
            vellum/client.py,sha256=NX3OUi2PDSYdBmgZhMQdJuYOOsSOLmChRHV2qWHmVg8,97366
         | 
| 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=OcJ2XpRTpb0sNRzCDSMjTi-8focgJwqX_DFcMuPnnWU,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=t4B6OAN8Qlxr7pdYxGB-CIiS9JWji00xLQlhmSDfFtA,774
         | 
| 30 30 | 
             
            vellum/resources/deployments/__init__.py,sha256=AE0TcFwLrLBljM0ZDX-pPw4Kqt-1f5JDpIok2HS80QI,157
         | 
| 31 | 
            -
            vellum/resources/deployments/client.py,sha256= | 
| 31 | 
            +
            vellum/resources/deployments/client.py,sha256=p-6_5eUmcIdlZWd6JHdWGqa953f6LBy9KdrHsVDdMlI,39239
         | 
| 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,6 +39,8 @@ 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
         | 
| 42 44 | 
             
            vellum/resources/sandboxes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
         | 
| 43 45 | 
             
            vellum/resources/sandboxes/client.py,sha256=Ookq63OqBgYKalTeA9IhJtufmLEv2cyIq2tFqIFfNsM,12738
         | 
| 44 46 | 
             
            vellum/resources/test_suite_runs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
         | 
| @@ -46,7 +48,7 @@ vellum/resources/test_suite_runs/client.py,sha256=LOcjVwBAgQF__yEGvsbZpjBhefGtLL | |
| 46 48 | 
             
            vellum/resources/test_suites/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
         | 
| 47 49 | 
             
            vellum/resources/test_suites/client.py,sha256=oQQrq-2iizwfJoFvbX5ZOvkjnGvP2lhVqmqrelpYCU8,18982
         | 
| 48 50 | 
             
            vellum/resources/workflow_deployments/__init__.py,sha256=-5BCA0kSmW6WUh4gqLuQtHv4zFdt9lccuDwMU5YvEu4,173
         | 
| 49 | 
            -
            vellum/resources/workflow_deployments/client.py,sha256= | 
| 51 | 
            +
            vellum/resources/workflow_deployments/client.py,sha256=Oal32DF472B46CBWkb8GgDonjyAFQ28hHV5lq4DF1AM,22437
         | 
| 50 52 | 
             
            vellum/resources/workflow_deployments/types/__init__.py,sha256=rmS_4dtbgLHGNQJ_pOloygrjl4sNbKZjTEKBxbMyz6E,208
         | 
| 51 53 | 
             
            vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py,sha256=FXVkVmGM6DZ2RpTGnZXWJYiVlLQ-K5fDtX3WMaBPaWk,182
         | 
| 52 54 | 
             
            vellum/terraform/__init__.py,sha256=t69swjCfZmrf7tmHcUYVHH5bflrp1Ax2YnbwNMuG2YQ,454
         | 
| @@ -58,7 +60,7 @@ vellum/terraform/document_index/__init__.py,sha256=qq2zENI22bUvqGk_a1lmsoTr5O_xC | |
| 58 60 | 
             
            vellum/terraform/provider/__init__.py,sha256=K1yLlTZkYBxhD4bhUV1v23hxDGgbfsAIGsSyeB54dNQ,10298
         | 
| 59 61 | 
             
            vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
         | 
| 60 62 | 
             
            vellum/terraform/versions.json,sha256=STW6Mg3BKDacFmbWHXziHxE90GWncZf4AIzCLiXm_7o,56
         | 
| 61 | 
            -
            vellum/types/__init__.py,sha256= | 
| 63 | 
            +
            vellum/types/__init__.py,sha256=CUicvUmjdIktVVJO7rf0ciabBahrZogyL5PWQ6pNJ3s,56968
         | 
| 62 64 | 
             
            vellum/types/add_openai_api_key_enum.py,sha256=GB7sLK_Ou7-Xn73sKJHUo6Gx3TjyhU7uJvWZAg4UeaI,92
         | 
| 63 65 | 
             
            vellum/types/api_node_result.py,sha256=SvYIi1T-N_P3FVjzv9I91PaCT0IN958A3easp5Q7jqE,983
         | 
| 64 66 | 
             
            vellum/types/api_node_result_data.py,sha256=KFBmmizcEg73GwQMXUtEdJ4e9YGFpRLYAnalwxIcDug,1161
         | 
| @@ -97,6 +99,8 @@ vellum/types/conditional_node_result.py,sha256=mR8FHOnTwLDO8U5uVNB2SkDrJSDRkcyLq | |
| 97 99 | 
             
            vellum/types/conditional_node_result_data.py,sha256=BoSK8B_qDx-CztZw5qwl2Gk0Ow56gifNu2Ahg-P15iE,898
         | 
| 98 100 | 
             
            vellum/types/deployment_provider_payload_response.py,sha256=nEw7v0EVo3NgKDVtsBMjd9XLWmFAGk59U1Z-qSs-Stc,898
         | 
| 99 101 | 
             
            vellum/types/deployment_read.py,sha256=q3xfBEKQ8HsXc9en1c3oKSGQbyTc-xY54puIEe20okM,1938
         | 
| 102 | 
            +
            vellum/types/deployment_release_tag_deployment_history_item.py,sha256=997C-J0NOEvOm7Y_dyyaqYvKMIEHCDj0JEpAcmOjOEQ,903
         | 
| 103 | 
            +
            vellum/types/deployment_release_tag_read.py,sha256=o0X8dMSqajT3-lEnLk9tRb8PRhs3l3M4iBM7CX9316c,1432
         | 
| 100 104 | 
             
            vellum/types/document_document_to_document_index.py,sha256=kCPPJFnXu9HFZbk7PgRCtRDj5Cw2_0yEPjAStm-YC2E,1532
         | 
| 101 105 | 
             
            vellum/types/document_index_chunking.py,sha256=78_EoJAh_9G8I50rryj-XPT5Zh_C1r8Eap_9swOoJAo,1383
         | 
| 102 106 | 
             
            vellum/types/document_index_chunking_request.py,sha256=7Sr45IKRYCgnCvDts5Jn7idcNp09BVr2iI5pPzm_luk,1498
         | 
| @@ -263,6 +267,7 @@ vellum/types/rejected_execute_prompt_response.py,sha256=dMzzZXvsVtLcnprXTbuPqwRJ | |
| 263 267 | 
             
            vellum/types/rejected_execute_workflow_workflow_result_event.py,sha256=acYvyXoZfPMq2a0xCqCr8wtBSb6WzumErf_RngsYzqg,1103
         | 
| 264 268 | 
             
            vellum/types/rejected_prompt_execution_meta.py,sha256=kBS6bThYk1vvhKv47UB0FZP7WuCBoCAsbTnK43XQWbI,1138
         | 
| 265 269 | 
             
            vellum/types/rejected_workflow_node_result_event.py,sha256=NbHR7Dhd9QBxDY9AMVM3uHx6HkgPiW6C0LaBGktGycA,1293
         | 
| 270 | 
            +
            vellum/types/release_tag_source.py,sha256=YavosOXZ976yfXTNWRTZwh2HhRiYmSDk0bQCkl-jCoQ,158
         | 
| 266 271 | 
             
            vellum/types/sandbox_scenario.py,sha256=-MaSvpH6jSokr5XsCZybafKez3fnPctTFqm30Lfk8Ko,1144
         | 
| 267 272 | 
             
            vellum/types/scenario_input.py,sha256=6_jN2JaqgEOkQpP5h17l5HeRhI_kdNMD_jjVyNFDM7Q,907
         | 
| 268 273 | 
             
            vellum/types/scenario_input_chat_history_variable_value.py,sha256=j5CbnDsEQYHwVxXLSJFrXMDYKHCnvGYgDpozJ9NxB0A,1071
         | 
| @@ -304,7 +309,8 @@ vellum/types/submit_completion_actual_request.py,sha256=52BcHB_G2aj5EZrzAXVcmkrF | |
| 304 309 | 
             
            vellum/types/submit_completion_actuals_error_response.py,sha256=f2XlGM5NBdwZLy4oOJN9LrcaHwW31fGtTCmzcJVzUV4,875
         | 
| 305 310 | 
             
            vellum/types/submit_workflow_execution_actual_request.py,sha256=zR5Di5a9GC2fchGC9qLEXGELitg3UxCoQUqeIyeyLDc,1487
         | 
| 306 311 | 
             
            vellum/types/subworkflow_enum.py,sha256=6Tvuegdga54mAY0ojP19x9HTbsjOm3gw4QrH_BpD4rY,128
         | 
| 307 | 
            -
            vellum/types/subworkflow_node_result.py,sha256= | 
| 312 | 
            +
            vellum/types/subworkflow_node_result.py,sha256=EcUoDnowXG3ScoEoHrpFTEzt1cMdCmLicDKycPxy-Tk,1046
         | 
| 313 | 
            +
            vellum/types/subworkflow_node_result_data.py,sha256=H2A3qlqE09fiT9Eb2fq_vvtVC8gwo7kFx_fZdU5ckIY,894
         | 
| 308 314 | 
             
            vellum/types/templating_node_array_result.py,sha256=huhwnErVQPAiN2nIk8QolAQRB1kPDdOrr0fnK4eKSf8,993
         | 
| 309 315 | 
             
            vellum/types/templating_node_chat_history_result.py,sha256=_1g3zY8AKbI4DyLg5nkvgoLsbUMXu_9HdgByRC3Qq8E,964
         | 
| 310 316 | 
             
            vellum/types/templating_node_error_result.py,sha256=3Sa0r1FpBaK_K_-9w6IzZDlN9z7MtdsulO9E9dAkavw,945
         | 
| @@ -413,6 +419,8 @@ vellum/types/workflow_output_json.py,sha256=XhuFKHZ5JHm8NzvR2ykXO8siNP_jmJ-8F3nf | |
| 413 419 | 
             
            vellum/types/workflow_output_number.py,sha256=rgQjAUOeA8iSBDv4ftS3gTN70tdQq6DheTwk5nxOIRo,1063
         | 
| 414 420 | 
             
            vellum/types/workflow_output_search_results.py,sha256=qknZXGjUGF8SHU_IoSgNqrC2a7_Ohp6Mq4X9alnl7XA,1138
         | 
| 415 421 | 
             
            vellum/types/workflow_output_string.py,sha256=HyywOoEJFYubNLiJwGBpWxUtZgnbGgMsBxxs2RoPtA4,1061
         | 
| 422 | 
            +
            vellum/types/workflow_release_tag_read.py,sha256=UDIEV1eS580RpHgEF6lL7PXO98ryvJFbD-XhoxC4S60,1458
         | 
| 423 | 
            +
            vellum/types/workflow_release_tag_workflow_deployment_history_item.py,sha256=McEyeNptAS7mj5HrKQYLsE-fJCImxwLhMSvBwwIHfRA,1103
         | 
| 416 424 | 
             
            vellum/types/workflow_request_chat_history_input_request.py,sha256=RE_TFOEcG_3dyZsclTc6OGbK_s-kIy-EMluL2CKA5i8,1137
         | 
| 417 425 | 
             
            vellum/types/workflow_request_input_request.py,sha256=UgAzjnJR5zJSPZhD_E9h3FaV738ebLNIhpI_SJBgQ0Q,1772
         | 
| 418 426 | 
             
            vellum/types/workflow_request_json_input_request.py,sha256=pQmLN51AlOVNSd1jJ_lxItChLoIUCn1Rgwa9MhfytQA,1066
         | 
| @@ -430,7 +438,7 @@ vellum/types/workflow_result_event_output_data_search_results.py,sha256=gazaUrC5 | |
| 430 438 | 
             
            vellum/types/workflow_result_event_output_data_string.py,sha256=aVWIIGbLj4TJJhTTj6WzhbYXQkcZatKuhhNy8UYwXbw,1482
         | 
| 431 439 | 
             
            vellum/types/workflow_stream_event.py,sha256=KA6Bkk_XA6AIPWR-1vKnwF1A8l_Bm5y0arQCWWWRpsk,911
         | 
| 432 440 | 
             
            vellum/version.py,sha256=neLt8HBHHUtDF9M5fsyUzHT-pKooEPvceaLDqqIGb0s,77
         | 
| 433 | 
            -
            vellum_ai-0.6. | 
| 434 | 
            -
            vellum_ai-0.6. | 
| 435 | 
            -
            vellum_ai-0.6. | 
| 436 | 
            -
            vellum_ai-0.6. | 
| 441 | 
            +
            vellum_ai-0.6.2.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
         | 
| 442 | 
            +
            vellum_ai-0.6.2.dist-info/METADATA,sha256=cjiInkRZdZraCT4N8HIXRGu4Jemmu3d26RJpAFY9FNo,3591
         | 
| 443 | 
            +
            vellum_ai-0.6.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
         | 
| 444 | 
            +
            vellum_ai-0.6.2.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         |