vellum-ai 0.9.15__py3-none-any.whl → 0.9.16__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ class BaseClientWrapper:
17
17
  headers: typing.Dict[str, str] = {
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "vellum-ai",
20
- "X-Fern-SDK-Version": "0.9.15",
20
+ "X-Fern-SDK-Version": "0.9.16",
21
21
  }
22
22
  headers["X_API_KEY"] = self.api_key
23
23
  return headers
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.9.15
3
+ Version: 0.9.16
4
4
  Summary:
5
5
  License: MIT
6
- Requires-Python: >=3.8,<4.0
6
+ Requires-Python: >=3.9,<4.0
7
7
  Classifier: Intended Audience :: Developers
8
8
  Classifier: License :: OSI Approved :: MIT License
9
9
  Classifier: Operating System :: MacOS
@@ -13,18 +13,27 @@ Classifier: Operating System :: POSIX
13
13
  Classifier: Operating System :: POSIX :: Linux
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.8
21
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
22
  Classifier: Typing :: Typed
23
+ Requires-Dist: Jinja2 (==3.1.2)
23
24
  Requires-Dist: cdktf (>=0.20.5,<0.21.0)
25
+ Requires-Dist: click (==8.1.7)
26
+ Requires-Dist: docker (==7.1.0)
24
27
  Requires-Dist: httpx (>=0.21.2)
28
+ Requires-Dist: orderly-set (>=5.2.2,<6.0.0)
25
29
  Requires-Dist: publication (==0.0.3)
26
30
  Requires-Dist: pydantic (>=1.9.2)
27
31
  Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
32
+ Requires-Dist: pydash (==7.0.6)
33
+ Requires-Dist: python-dotenv (==1.0.1)
34
+ Requires-Dist: pytz (==2022.6)
35
+ Requires-Dist: pyyaml (==6.0.1)
36
+ Requires-Dist: requests (==2.32.3)
28
37
  Requires-Dist: typing_extensions (>=4.0.0)
29
38
  Description-Content-Type: text/markdown
30
39
 
@@ -2,7 +2,7 @@ vellum/__init__.py,sha256=m0Vfy02ACEtGf7LlRkVWFCAVF19SDF47PWJrCKIDsgo,34220
2
2
  vellum/client.py,sha256=GtF36JNWxnFRV348M0-YcGd9N6ES-l0Q5b32rwHCR5E,115031
3
3
  vellum/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
4
4
  vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- vellum/core/client_wrapper.py,sha256=LRz9iP7j15DAuuCL2t-YGAU-z5civRcQBNKShT3MxSQ,1890
5
+ vellum/core/client_wrapper.py,sha256=VTQn58wqSzJtoJwik4xXc2HhxpX9PZ3bHxuKmO1K-hI,1890
6
6
  vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  vellum/core/file.py,sha256=X9IbmkZmB2bB_DpmZAO3crWdXagOakAyn6UCOCImCPg,2322
8
8
  vellum/core/http_client.py,sha256=R0pQpCppnEtxccGvXl4uJ76s7ro_65Fo_erlNNLp_AI,19228
@@ -71,17 +71,6 @@ vellum/resources/workflows/types/__init__.py,sha256=-uFca4ypncAOvfsg6sjD-5C9zWdA
71
71
  vellum/resources/workflows/types/workflows_pull_request_format.py,sha256=dOWE_jnDnniIJLoeseeCms23aklghyBkoPmBFzcqqZk,165
72
72
  vellum/resources/workspace_secrets/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
73
73
  vellum/resources/workspace_secrets/client.py,sha256=h7UzXLyTttPq1t-JZGMg1BWxypxJvBGUdqg7KGT7MK4,8027
74
- vellum/terraform/__init__.py,sha256=CxzT0rkV9cXwAtxZ3gv46DCRt9vBl_Sx1SOj5MJtl0Y,498
75
- vellum/terraform/_jsii/__init__.py,sha256=AV9B1-EC-DQ2MSTWojcpbHjahvoZxNaYeZ6aCi5SXEQ,473
76
- vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz,sha256=igWevhMxZD8GCX4KWzOG3vfQFDj5ic91sNmj2uFVwow,32056
77
- vellum/terraform/constraints.json,sha256=Pu3woy48d9csejER37XDbOVFvXUb9m9UrX4jFRUcilQ,43
78
- vellum/terraform/data_vellum_document_index/__init__.py,sha256=azU5hORjTHHLjzxs9eIX_Rp9lQ8yjLFxKACdP7VfidU,21484
79
- vellum/terraform/data_vellum_ml_model/__init__.py,sha256=o-QnNhRvjp0qmVnKQVqr_2libGZwkRDBSkS8m_61JdM,21228
80
- vellum/terraform/document_index/__init__.py,sha256=Inu_vUE6BBpYMgstvjNs3MTFJxEouOHl4hFw81YqtdA,25018
81
- vellum/terraform/ml_model/__init__.py,sha256=I8h1Ru-Rb-Hi_HusK6G7nJQZEKQGsAAHMmw4ZApcZwM,40294
82
- vellum/terraform/provider/__init__.py,sha256=-06xKmAmknpohVzw5TD-t1bnUHta8OrQYqvMd04XM-U,12684
83
- vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
84
- vellum/terraform/versions.json,sha256=45c7jjRD5i4w9DJQHs5ZqLLVXRnQwP9Rirq3mWY-xEo,56
85
74
  vellum/types/__init__.py,sha256=bkZN7uoG71R0R34OWEp-fjl4XQUiHkUQsp-TIFco_dQ,51700
86
75
  vellum/types/ad_hoc_execute_prompt_event.py,sha256=bCjujA2XsOgyF3bRZbcEqV2rOIymRgsLoIRtZpB14xg,607
87
76
  vellum/types/ad_hoc_expand_meta.py,sha256=1gv-NCsy_6xBYupLvZH979yf2VMdxAU-l0y0ynMKZaw,1331
@@ -563,7 +552,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
563
552
  vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
564
553
  vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
565
554
  vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
566
- vellum_ai-0.9.15.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
567
- vellum_ai-0.9.15.dist-info/METADATA,sha256=tW3SB-AqKD3hwYjwm-_GtnDgbKcozwVtmpeLjSti5PM,4395
568
- vellum_ai-0.9.15.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
569
- vellum_ai-0.9.15.dist-info/RECORD,,
555
+ vellum_ai-0.9.16.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
556
+ vellum_ai-0.9.16.dist-info/METADATA,sha256=BOQwBtCcvirbkdp-D2yAsYbqH46vFaDHOVSpEmAQG6s,4703
557
+ vellum_ai-0.9.16.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
558
+ vellum_ai-0.9.16.dist-info/RECORD,,
@@ -1,28 +0,0 @@
1
- from pkgutil import extend_path
2
- __path__ = extend_path(__path__, __name__)
3
-
4
- import abc
5
- import builtins
6
- import datetime
7
- import enum
8
- import typing
9
-
10
- import jsii
11
- import publication
12
- import typing_extensions
13
-
14
- from typeguard import check_type
15
-
16
- from ._jsii import *
17
-
18
- __all__ = [
19
- "data_vellum_document_index",
20
- "data_vellum_ml_model",
21
- "document_index",
22
- "ml_model",
23
- "provider",
24
- ]
25
-
26
- publication.publish()
27
-
28
- # Loading modules to ensure their types are registered with the jsii runtime library
@@ -1,27 +0,0 @@
1
- from pkgutil import extend_path
2
- __path__ = extend_path(__path__, __name__)
3
-
4
- import abc
5
- import builtins
6
- import datetime
7
- import enum
8
- import typing
9
-
10
- import jsii
11
- import publication
12
- import typing_extensions
13
-
14
- from typeguard import check_type
15
-
16
- import cdktf._jsii
17
- import constructs._jsii
18
-
19
- __jsii_assembly__ = jsii.JSIIAssembly.load(
20
- "vellum-ai_vellum", "0.0.0", __name__[0:-6], "vellum-ai_vellum@0.0.0.jsii.tgz"
21
- )
22
-
23
- __all__ = [
24
- "__jsii_assembly__",
25
- ]
26
-
27
- publication.publish()
@@ -1,4 +0,0 @@
1
- {
2
- "cdktf": "0.20.6",
3
- "providers": {}
4
- }
@@ -1,409 +0,0 @@
1
- '''
2
- # `data_vellum_document_index`
3
-
4
- Refer to the Terraform Registry for docs: [`data_vellum_document_index`](https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index).
5
- '''
6
- from pkgutil import extend_path
7
- __path__ = extend_path(__path__, __name__)
8
-
9
- import abc
10
- import builtins
11
- import datetime
12
- import enum
13
- import typing
14
-
15
- import jsii
16
- import publication
17
- import typing_extensions
18
-
19
- from typeguard import check_type
20
-
21
- from .._jsii import *
22
-
23
- import cdktf as _cdktf_9a9027ec
24
- import constructs as _constructs_77d1e7e8
25
-
26
-
27
- class DataVellumDocumentIndex(
28
- _cdktf_9a9027ec.TerraformDataSource,
29
- metaclass=jsii.JSIIMeta,
30
- jsii_type="vellum-ai_vellum.dataVellumDocumentIndex.DataVellumDocumentIndex",
31
- ):
32
- '''Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index}.'''
33
-
34
- def __init__(
35
- self,
36
- scope: _constructs_77d1e7e8.Construct,
37
- id_: builtins.str,
38
- *,
39
- id: typing.Optional[builtins.str] = None,
40
- name: typing.Optional[builtins.str] = None,
41
- connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
42
- count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
43
- depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
44
- for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
45
- lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
46
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
47
- provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
48
- ) -> None:
49
- '''Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index} Data Source.
50
-
51
- :param scope: The scope in which to define this construct.
52
- :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
53
- :param id: The Document Index's ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#id DataVellumDocumentIndex#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
54
- :param name: A name that uniquely identifies this index within its workspace. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
55
- :param connection:
56
- :param count:
57
- :param depends_on:
58
- :param for_each:
59
- :param lifecycle:
60
- :param provider:
61
- :param provisioners:
62
- '''
63
- if __debug__:
64
- type_hints = typing.get_type_hints(_typecheckingstub__0bc5b33c1995e6b6e696de461f28c651c4c56ac6f532ab44c49a5bf361c75c65)
65
- check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
66
- check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
67
- config = DataVellumDocumentIndexConfig(
68
- id=id,
69
- name=name,
70
- connection=connection,
71
- count=count,
72
- depends_on=depends_on,
73
- for_each=for_each,
74
- lifecycle=lifecycle,
75
- provider=provider,
76
- provisioners=provisioners,
77
- )
78
-
79
- jsii.create(self.__class__, self, [scope, id_, config])
80
-
81
- @jsii.member(jsii_name="generateConfigForImport")
82
- @builtins.classmethod
83
- def generate_config_for_import(
84
- cls,
85
- scope: _constructs_77d1e7e8.Construct,
86
- import_to_id: builtins.str,
87
- import_from_id: builtins.str,
88
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
89
- ) -> _cdktf_9a9027ec.ImportableResource:
90
- '''Generates CDKTF code for importing a DataVellumDocumentIndex resource upon running "cdktf plan ".
91
-
92
- :param scope: The scope in which to define this construct.
93
- :param import_to_id: The construct id used in the generated config for the DataVellumDocumentIndex to import.
94
- :param import_from_id: The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
95
- :param provider: ? Optional instance of the provider where the DataVellumDocumentIndex to import is found.
96
- '''
97
- if __debug__:
98
- type_hints = typing.get_type_hints(_typecheckingstub__6188c2844375085b6bf86c3fbadee75ee53a0b9d851bd1338854014696ecf57b)
99
- check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
100
- check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
101
- check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
102
- check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
103
- return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
104
-
105
- @jsii.member(jsii_name="resetId")
106
- def reset_id(self) -> None:
107
- return typing.cast(None, jsii.invoke(self, "resetId", []))
108
-
109
- @jsii.member(jsii_name="resetName")
110
- def reset_name(self) -> None:
111
- return typing.cast(None, jsii.invoke(self, "resetName", []))
112
-
113
- @jsii.member(jsii_name="synthesizeAttributes")
114
- def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
115
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
116
-
117
- @jsii.member(jsii_name="synthesizeHclAttributes")
118
- def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
119
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
120
-
121
- @jsii.python.classproperty
122
- @jsii.member(jsii_name="tfResourceType")
123
- def TF_RESOURCE_TYPE(cls) -> builtins.str:
124
- return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
125
-
126
- @builtins.property
127
- @jsii.member(jsii_name="created")
128
- def created(self) -> builtins.str:
129
- return typing.cast(builtins.str, jsii.get(self, "created"))
130
-
131
- @builtins.property
132
- @jsii.member(jsii_name="environment")
133
- def environment(self) -> builtins.str:
134
- return typing.cast(builtins.str, jsii.get(self, "environment"))
135
-
136
- @builtins.property
137
- @jsii.member(jsii_name="label")
138
- def label(self) -> builtins.str:
139
- return typing.cast(builtins.str, jsii.get(self, "label"))
140
-
141
- @builtins.property
142
- @jsii.member(jsii_name="status")
143
- def status(self) -> builtins.str:
144
- return typing.cast(builtins.str, jsii.get(self, "status"))
145
-
146
- @builtins.property
147
- @jsii.member(jsii_name="idInput")
148
- def id_input(self) -> typing.Optional[builtins.str]:
149
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
150
-
151
- @builtins.property
152
- @jsii.member(jsii_name="nameInput")
153
- def name_input(self) -> typing.Optional[builtins.str]:
154
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
155
-
156
- @builtins.property
157
- @jsii.member(jsii_name="id")
158
- def id(self) -> builtins.str:
159
- return typing.cast(builtins.str, jsii.get(self, "id"))
160
-
161
- @id.setter
162
- def id(self, value: builtins.str) -> None:
163
- if __debug__:
164
- type_hints = typing.get_type_hints(_typecheckingstub__00069088befbd70729d087d2fac43a23a7c164be2e83b3504a2b40460cd8fb40)
165
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
166
- jsii.set(self, "id", value)
167
-
168
- @builtins.property
169
- @jsii.member(jsii_name="name")
170
- def name(self) -> builtins.str:
171
- return typing.cast(builtins.str, jsii.get(self, "name"))
172
-
173
- @name.setter
174
- def name(self, value: builtins.str) -> None:
175
- if __debug__:
176
- type_hints = typing.get_type_hints(_typecheckingstub__c16ca1e6b115f5f1e1c642cae6613187dbe77b1c47d4c4c5a11ffb7488327d29)
177
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
178
- jsii.set(self, "name", value)
179
-
180
-
181
- @jsii.data_type(
182
- jsii_type="vellum-ai_vellum.dataVellumDocumentIndex.DataVellumDocumentIndexConfig",
183
- jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
184
- name_mapping={
185
- "connection": "connection",
186
- "count": "count",
187
- "depends_on": "dependsOn",
188
- "for_each": "forEach",
189
- "lifecycle": "lifecycle",
190
- "provider": "provider",
191
- "provisioners": "provisioners",
192
- "id": "id",
193
- "name": "name",
194
- },
195
- )
196
- class DataVellumDocumentIndexConfig(_cdktf_9a9027ec.TerraformMetaArguments):
197
- def __init__(
198
- self,
199
- *,
200
- connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
201
- count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
202
- depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
203
- for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
204
- lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
205
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
206
- provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
207
- id: typing.Optional[builtins.str] = None,
208
- name: typing.Optional[builtins.str] = None,
209
- ) -> None:
210
- '''
211
- :param connection:
212
- :param count:
213
- :param depends_on:
214
- :param for_each:
215
- :param lifecycle:
216
- :param provider:
217
- :param provisioners:
218
- :param id: The Document Index's ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#id DataVellumDocumentIndex#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
219
- :param name: A name that uniquely identifies this index within its workspace. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
220
- '''
221
- if isinstance(lifecycle, dict):
222
- lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
223
- if __debug__:
224
- type_hints = typing.get_type_hints(_typecheckingstub__21fcd2eefb7148719636663aa2c43b63b1d2114acd2edc65d539f913e8fa438b)
225
- check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
226
- check_type(argname="argument count", value=count, expected_type=type_hints["count"])
227
- check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
228
- check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
229
- check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
230
- check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
231
- check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
232
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
233
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
234
- self._values: typing.Dict[builtins.str, typing.Any] = {}
235
- if connection is not None:
236
- self._values["connection"] = connection
237
- if count is not None:
238
- self._values["count"] = count
239
- if depends_on is not None:
240
- self._values["depends_on"] = depends_on
241
- if for_each is not None:
242
- self._values["for_each"] = for_each
243
- if lifecycle is not None:
244
- self._values["lifecycle"] = lifecycle
245
- if provider is not None:
246
- self._values["provider"] = provider
247
- if provisioners is not None:
248
- self._values["provisioners"] = provisioners
249
- if id is not None:
250
- self._values["id"] = id
251
- if name is not None:
252
- self._values["name"] = name
253
-
254
- @builtins.property
255
- def connection(
256
- self,
257
- ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
258
- '''
259
- :stability: experimental
260
- '''
261
- result = self._values.get("connection")
262
- return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
263
-
264
- @builtins.property
265
- def count(
266
- self,
267
- ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
268
- '''
269
- :stability: experimental
270
- '''
271
- result = self._values.get("count")
272
- return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
273
-
274
- @builtins.property
275
- def depends_on(
276
- self,
277
- ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
278
- '''
279
- :stability: experimental
280
- '''
281
- result = self._values.get("depends_on")
282
- return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
283
-
284
- @builtins.property
285
- def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
286
- '''
287
- :stability: experimental
288
- '''
289
- result = self._values.get("for_each")
290
- return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
291
-
292
- @builtins.property
293
- def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
294
- '''
295
- :stability: experimental
296
- '''
297
- result = self._values.get("lifecycle")
298
- return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
299
-
300
- @builtins.property
301
- def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
302
- '''
303
- :stability: experimental
304
- '''
305
- result = self._values.get("provider")
306
- return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
307
-
308
- @builtins.property
309
- def provisioners(
310
- self,
311
- ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
312
- '''
313
- :stability: experimental
314
- '''
315
- result = self._values.get("provisioners")
316
- return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
317
-
318
- @builtins.property
319
- def id(self) -> typing.Optional[builtins.str]:
320
- '''The Document Index's ID.
321
-
322
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#id DataVellumDocumentIndex#id}
323
-
324
- Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
325
- If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
326
- '''
327
- result = self._values.get("id")
328
- return typing.cast(typing.Optional[builtins.str], result)
329
-
330
- @builtins.property
331
- def name(self) -> typing.Optional[builtins.str]:
332
- '''A name that uniquely identifies this index within its workspace.
333
-
334
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
335
- '''
336
- result = self._values.get("name")
337
- return typing.cast(typing.Optional[builtins.str], result)
338
-
339
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
340
- return isinstance(rhs, self.__class__) and rhs._values == self._values
341
-
342
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
343
- return not (rhs == self)
344
-
345
- def __repr__(self) -> str:
346
- return "DataVellumDocumentIndexConfig(%s)" % ", ".join(
347
- k + "=" + repr(v) for k, v in self._values.items()
348
- )
349
-
350
-
351
- __all__ = [
352
- "DataVellumDocumentIndex",
353
- "DataVellumDocumentIndexConfig",
354
- ]
355
-
356
- publication.publish()
357
-
358
- def _typecheckingstub__0bc5b33c1995e6b6e696de461f28c651c4c56ac6f532ab44c49a5bf361c75c65(
359
- scope: _constructs_77d1e7e8.Construct,
360
- id_: builtins.str,
361
- *,
362
- id: typing.Optional[builtins.str] = None,
363
- name: typing.Optional[builtins.str] = None,
364
- connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
365
- count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
366
- depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
367
- for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
368
- lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
369
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
370
- provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
371
- ) -> None:
372
- """Type checking stubs"""
373
- pass
374
-
375
- def _typecheckingstub__6188c2844375085b6bf86c3fbadee75ee53a0b9d851bd1338854014696ecf57b(
376
- scope: _constructs_77d1e7e8.Construct,
377
- import_to_id: builtins.str,
378
- import_from_id: builtins.str,
379
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
380
- ) -> None:
381
- """Type checking stubs"""
382
- pass
383
-
384
- def _typecheckingstub__00069088befbd70729d087d2fac43a23a7c164be2e83b3504a2b40460cd8fb40(
385
- value: builtins.str,
386
- ) -> None:
387
- """Type checking stubs"""
388
- pass
389
-
390
- def _typecheckingstub__c16ca1e6b115f5f1e1c642cae6613187dbe77b1c47d4c4c5a11ffb7488327d29(
391
- value: builtins.str,
392
- ) -> None:
393
- """Type checking stubs"""
394
- pass
395
-
396
- def _typecheckingstub__21fcd2eefb7148719636663aa2c43b63b1d2114acd2edc65d539f913e8fa438b(
397
- *,
398
- connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
399
- count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
400
- depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
401
- for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
402
- lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
403
- provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
404
- provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
405
- id: typing.Optional[builtins.str] = None,
406
- name: typing.Optional[builtins.str] = None,
407
- ) -> None:
408
- """Type checking stubs"""
409
- pass