vellum-ai 0.7.5__py3-none-any.whl → 0.7.6__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. vellum/__init__.py +68 -72
  2. vellum/core/client_wrapper.py +1 -1
  3. vellum/resources/ml_models/client.py +0 -11
  4. vellum/types/__init__.py +72 -76
  5. vellum/types/ml_model_display_config_labelled.py +0 -1
  6. vellum/types/ml_model_display_config_request.py +0 -1
  7. vellum/types/ml_model_parameter_config.py +14 -14
  8. vellum/types/ml_model_parameter_config_request.py +14 -14
  9. vellum/types/ml_model_read.py +0 -6
  10. vellum/types/{array_parameter_config.py → open_api_array_property.py} +6 -6
  11. vellum/types/{array_parameter_config_request.py → open_api_array_property_request.py} +6 -6
  12. vellum/types/{boolean_parameter_config.py → open_api_boolean_property.py} +1 -1
  13. vellum/types/{boolean_parameter_config_request.py → open_api_boolean_property_request.py} +1 -1
  14. vellum/types/{const_parameter_config.py → open_api_const_property.py} +1 -1
  15. vellum/types/{const_parameter_config_request.py → open_api_const_property_request.py} +1 -1
  16. vellum/types/{integer_parameter_config.py → open_api_integer_property.py} +1 -1
  17. vellum/types/{integer_parameter_config_request.py → open_api_integer_property_request.py} +1 -1
  18. vellum/types/{number_parameter_config.py → open_api_number_property.py} +1 -1
  19. vellum/types/{number_parameter_config_request.py → open_api_number_property_request.py} +1 -1
  20. vellum/types/{object_parameter_config.py → open_api_object_property.py} +7 -7
  21. vellum/types/{object_parameter_config_request.py → open_api_object_property_request.py} +7 -7
  22. vellum/types/{one_of_parameter_config.py → open_api_one_of_property.py} +4 -4
  23. vellum/types/{one_of_parameter_config_request.py → open_api_one_of_property_request.py} +4 -4
  24. vellum/types/{parameter_config.py → open_api_property.py} +25 -25
  25. vellum/types/{parameter_config_request.py → open_api_property_request.py} +25 -25
  26. vellum/types/{string_parameter_config.py → open_api_string_property.py} +1 -1
  27. vellum/types/{string_parameter_config_request.py → open_api_string_property_request.py} +1 -1
  28. {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/METADATA +1 -1
  29. {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/RECORD +31 -33
  30. vellum/types/ml_model_build_config.py +0 -29
  31. vellum/types/ml_model_build_config_request.py +0 -29
  32. {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/LICENSE +0 -0
  33. {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/WHEEL +0 -0
@@ -5,23 +5,23 @@ import typing
5
5
 
6
6
  from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
- from .array_parameter_config_request import ArrayParameterConfigRequest
9
- from .integer_parameter_config_request import IntegerParameterConfigRequest
10
- from .number_parameter_config_request import NumberParameterConfigRequest
11
- from .object_parameter_config_request import ObjectParameterConfigRequest
12
- from .parameter_config_request import ParameterConfigRequest
8
+ from .open_api_array_property_request import OpenApiArrayPropertyRequest
9
+ from .open_api_integer_property_request import OpenApiIntegerPropertyRequest
10
+ from .open_api_number_property_request import OpenApiNumberPropertyRequest
11
+ from .open_api_object_property_request import OpenApiObjectPropertyRequest
12
+ from .open_api_property_request import OpenApiPropertyRequest
13
13
 
14
14
 
15
15
  class MlModelParameterConfigRequest(pydantic_v1.BaseModel):
16
- temperature: typing.Optional[NumberParameterConfigRequest] = None
17
- max_tokens: typing.Optional[IntegerParameterConfigRequest] = None
18
- stop: typing.Optional[ArrayParameterConfigRequest] = None
19
- top_p: typing.Optional[NumberParameterConfigRequest] = None
20
- top_k: typing.Optional[IntegerParameterConfigRequest] = None
21
- frequency_penalty: typing.Optional[NumberParameterConfigRequest] = None
22
- presence_penalty: typing.Optional[NumberParameterConfigRequest] = None
23
- logit_bias: typing.Optional[ObjectParameterConfigRequest] = None
24
- custom_parameters: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfigRequest]]] = None
16
+ temperature: typing.Optional[OpenApiNumberPropertyRequest] = None
17
+ max_tokens: typing.Optional[OpenApiIntegerPropertyRequest] = None
18
+ stop: typing.Optional[OpenApiArrayPropertyRequest] = None
19
+ top_p: typing.Optional[OpenApiNumberPropertyRequest] = None
20
+ top_k: typing.Optional[OpenApiIntegerPropertyRequest] = None
21
+ frequency_penalty: typing.Optional[OpenApiNumberPropertyRequest] = None
22
+ presence_penalty: typing.Optional[OpenApiNumberPropertyRequest] = None
23
+ logit_bias: typing.Optional[OpenApiObjectPropertyRequest] = None
24
+ custom_parameters: typing.Optional[typing.Dict[str, typing.Optional[OpenApiPropertyRequest]]] = None
25
25
 
26
26
  def json(self, **kwargs: typing.Any) -> str:
27
27
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -6,7 +6,6 @@ import typing
6
6
  from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
  from .hosted_by_enum import HostedByEnum
9
- from .ml_model_build_config import MlModelBuildConfig
10
9
  from .ml_model_developer_enum_value_label import MlModelDeveloperEnumValueLabel
11
10
  from .ml_model_display_config_labelled import MlModelDisplayConfigLabelled
12
11
  from .ml_model_exec_config import MlModelExecConfig
@@ -69,11 +68,6 @@ class MlModelRead(pydantic_v1.BaseModel):
69
68
  - `DISABLED` - Disabled
70
69
  """
71
70
 
72
- build_config: MlModelBuildConfig = pydantic_v1.Field()
73
- """
74
- Configuration for how the ML Model was built.
75
- """
76
-
77
71
  exec_config: MlModelExecConfig = pydantic_v1.Field()
78
72
  """
79
73
  Configuration for how to execute the ML Model.
@@ -9,7 +9,7 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ArrayParameterConfig(pydantic_v1.BaseModel):
12
+ class OpenApiArrayProperty(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'array'
15
15
  """
@@ -17,9 +17,9 @@ class ArrayParameterConfig(pydantic_v1.BaseModel):
17
17
  min_items: typing.Optional[int] = None
18
18
  max_items: typing.Optional[int] = None
19
19
  unique_items: typing.Optional[bool] = None
20
- items: ParameterConfig
21
- prefix_items: typing.Optional[typing.List[ParameterConfig]] = None
22
- contains: typing.Optional[ParameterConfig] = None
20
+ items: OpenApiProperty
21
+ prefix_items: typing.Optional[typing.List[OpenApiProperty]] = None
22
+ contains: typing.Optional[OpenApiProperty] = None
23
23
  min_contains: typing.Optional[int] = None
24
24
  max_contains: typing.Optional[int] = None
25
25
  default: typing.Optional[typing.List[typing.Any]] = None
@@ -45,6 +45,6 @@ class ArrayParameterConfig(pydantic_v1.BaseModel):
45
45
  json_encoders = {dt.datetime: serialize_datetime}
46
46
 
47
47
 
48
- from .parameter_config import ParameterConfig # noqa: E402
48
+ from .open_api_property import OpenApiProperty # noqa: E402
49
49
 
50
- ArrayParameterConfig.update_forward_refs()
50
+ OpenApiArrayProperty.update_forward_refs()
@@ -9,7 +9,7 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ArrayParameterConfigRequest(pydantic_v1.BaseModel):
12
+ class OpenApiArrayPropertyRequest(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'array'
15
15
  """
@@ -17,9 +17,9 @@ class ArrayParameterConfigRequest(pydantic_v1.BaseModel):
17
17
  min_items: typing.Optional[int] = None
18
18
  max_items: typing.Optional[int] = None
19
19
  unique_items: typing.Optional[bool] = None
20
- items: ParameterConfigRequest
21
- prefix_items: typing.Optional[typing.List[ParameterConfigRequest]] = None
22
- contains: typing.Optional[ParameterConfigRequest] = None
20
+ items: OpenApiPropertyRequest
21
+ prefix_items: typing.Optional[typing.List[OpenApiPropertyRequest]] = None
22
+ contains: typing.Optional[OpenApiPropertyRequest] = None
23
23
  min_contains: typing.Optional[int] = None
24
24
  max_contains: typing.Optional[int] = None
25
25
  default: typing.Optional[typing.List[typing.Any]] = None
@@ -45,6 +45,6 @@ class ArrayParameterConfigRequest(pydantic_v1.BaseModel):
45
45
  json_encoders = {dt.datetime: serialize_datetime}
46
46
 
47
47
 
48
- from .parameter_config_request import ParameterConfigRequest # noqa: E402
48
+ from .open_api_property_request import OpenApiPropertyRequest # noqa: E402
49
49
 
50
- ArrayParameterConfigRequest.update_forward_refs()
50
+ OpenApiArrayPropertyRequest.update_forward_refs()
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class BooleanParameterConfig(pydantic_v1.BaseModel):
10
+ class OpenApiBooleanProperty(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'boolean'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class BooleanParameterConfigRequest(pydantic_v1.BaseModel):
10
+ class OpenApiBooleanPropertyRequest(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'boolean'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class ConstParameterConfig(pydantic_v1.BaseModel):
10
+ class OpenApiConstProperty(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'const'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class ConstParameterConfigRequest(pydantic_v1.BaseModel):
10
+ class OpenApiConstPropertyRequest(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'const'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class IntegerParameterConfig(pydantic_v1.BaseModel):
10
+ class OpenApiIntegerProperty(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'integer'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class IntegerParameterConfigRequest(pydantic_v1.BaseModel):
10
+ class OpenApiIntegerPropertyRequest(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'integer'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class NumberParameterConfig(pydantic_v1.BaseModel):
10
+ class OpenApiNumberProperty(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'number'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class NumberParameterConfigRequest(pydantic_v1.BaseModel):
10
+ class OpenApiNumberPropertyRequest(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'number'
13
13
  """
@@ -9,18 +9,18 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ObjectParameterConfig(pydantic_v1.BaseModel):
12
+ class OpenApiObjectProperty(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'object'
15
15
  """
16
16
 
17
- properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfig]]] = None
17
+ properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiProperty]]] = None
18
18
  required: typing.Optional[typing.List[str]] = None
19
19
  min_properties: typing.Optional[int] = None
20
20
  max_properties: typing.Optional[int] = None
21
- property_names: typing.Optional[ParameterConfig] = None
22
- additional_properties: typing.Optional[ParameterConfig] = None
23
- pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfig]]] = None
21
+ property_names: typing.Optional[OpenApiProperty] = None
22
+ additional_properties: typing.Optional[OpenApiProperty] = None
23
+ pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiProperty]]] = None
24
24
  default: typing.Optional[typing.Dict[str, typing.Any]] = None
25
25
  title: typing.Optional[str] = None
26
26
  description: typing.Optional[str] = None
@@ -44,6 +44,6 @@ class ObjectParameterConfig(pydantic_v1.BaseModel):
44
44
  json_encoders = {dt.datetime: serialize_datetime}
45
45
 
46
46
 
47
- from .parameter_config import ParameterConfig # noqa: E402
47
+ from .open_api_property import OpenApiProperty # noqa: E402
48
48
 
49
- ObjectParameterConfig.update_forward_refs()
49
+ OpenApiObjectProperty.update_forward_refs()
@@ -9,18 +9,18 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ObjectParameterConfigRequest(pydantic_v1.BaseModel):
12
+ class OpenApiObjectPropertyRequest(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'object'
15
15
  """
16
16
 
17
- properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfigRequest]]] = None
17
+ properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiPropertyRequest]]] = None
18
18
  required: typing.Optional[typing.List[str]] = None
19
19
  min_properties: typing.Optional[int] = None
20
20
  max_properties: typing.Optional[int] = None
21
- property_names: typing.Optional[ParameterConfigRequest] = None
22
- additional_properties: typing.Optional[ParameterConfigRequest] = None
23
- pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfigRequest]]] = None
21
+ property_names: typing.Optional[OpenApiPropertyRequest] = None
22
+ additional_properties: typing.Optional[OpenApiPropertyRequest] = None
23
+ pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiPropertyRequest]]] = None
24
24
  default: typing.Optional[typing.Dict[str, typing.Any]] = None
25
25
  title: typing.Optional[str] = None
26
26
  description: typing.Optional[str] = None
@@ -44,6 +44,6 @@ class ObjectParameterConfigRequest(pydantic_v1.BaseModel):
44
44
  json_encoders = {dt.datetime: serialize_datetime}
45
45
 
46
46
 
47
- from .parameter_config_request import ParameterConfigRequest # noqa: E402
47
+ from .open_api_property_request import OpenApiPropertyRequest # noqa: E402
48
48
 
49
- ObjectParameterConfigRequest.update_forward_refs()
49
+ OpenApiObjectPropertyRequest.update_forward_refs()
@@ -9,12 +9,12 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class OneOfParameterConfig(pydantic_v1.BaseModel):
12
+ class OpenApiOneOfProperty(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'oneOf'
15
15
  """
16
16
 
17
- one_of: typing.List[ParameterConfig] = pydantic_v1.Field(alias="oneOf")
17
+ one_of: typing.List[OpenApiProperty] = pydantic_v1.Field(alias="oneOf")
18
18
  title: typing.Optional[str] = None
19
19
  description: typing.Optional[str] = None
20
20
 
@@ -39,6 +39,6 @@ class OneOfParameterConfig(pydantic_v1.BaseModel):
39
39
  json_encoders = {dt.datetime: serialize_datetime}
40
40
 
41
41
 
42
- from .parameter_config import ParameterConfig # noqa: E402
42
+ from .open_api_property import OpenApiProperty # noqa: E402
43
43
 
44
- OneOfParameterConfig.update_forward_refs()
44
+ OpenApiOneOfProperty.update_forward_refs()
@@ -9,12 +9,12 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class OneOfParameterConfigRequest(pydantic_v1.BaseModel):
12
+ class OpenApiOneOfPropertyRequest(pydantic_v1.BaseModel):
13
13
  """
14
14
  An OpenAPI specification of a parameter with type 'oneOf'
15
15
  """
16
16
 
17
- one_of: typing.List[ParameterConfigRequest] = pydantic_v1.Field(alias="oneOf")
17
+ one_of: typing.List[OpenApiPropertyRequest] = pydantic_v1.Field(alias="oneOf")
18
18
  title: typing.Optional[str] = None
19
19
  description: typing.Optional[str] = None
20
20
 
@@ -39,6 +39,6 @@ class OneOfParameterConfigRequest(pydantic_v1.BaseModel):
39
39
  json_encoders = {dt.datetime: serialize_datetime}
40
40
 
41
41
 
42
- from .parameter_config_request import ParameterConfigRequest # noqa: E402
42
+ from .open_api_property_request import OpenApiPropertyRequest # noqa: E402
43
43
 
44
- OneOfParameterConfigRequest.update_forward_refs()
44
+ OpenApiOneOfPropertyRequest.update_forward_refs()
@@ -9,13 +9,13 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ParameterConfig_Array(pydantic_v1.BaseModel):
12
+ class OpenApiProperty_Array(pydantic_v1.BaseModel):
13
13
  min_items: typing.Optional[int] = None
14
14
  max_items: typing.Optional[int] = None
15
15
  unique_items: typing.Optional[bool] = None
16
- items: ParameterConfig
17
- prefix_items: typing.Optional[typing.List[ParameterConfig]] = None
18
- contains: typing.Optional[ParameterConfig] = None
16
+ items: OpenApiProperty
17
+ prefix_items: typing.Optional[typing.List[OpenApiProperty]] = None
18
+ contains: typing.Optional[OpenApiProperty] = None
19
19
  min_contains: typing.Optional[int] = None
20
20
  max_contains: typing.Optional[int] = None
21
21
  default: typing.Optional[typing.List[typing.Any]] = None
@@ -42,14 +42,14 @@ class ParameterConfig_Array(pydantic_v1.BaseModel):
42
42
  json_encoders = {dt.datetime: serialize_datetime}
43
43
 
44
44
 
45
- class ParameterConfig_Object(pydantic_v1.BaseModel):
46
- properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfig]]] = None
45
+ class OpenApiProperty_Object(pydantic_v1.BaseModel):
46
+ properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiProperty]]] = None
47
47
  required: typing.Optional[typing.List[str]] = None
48
48
  min_properties: typing.Optional[int] = None
49
49
  max_properties: typing.Optional[int] = None
50
- property_names: typing.Optional[ParameterConfig] = None
51
- additional_properties: typing.Optional[ParameterConfig] = None
52
- pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfig]]] = None
50
+ property_names: typing.Optional[OpenApiProperty] = None
51
+ additional_properties: typing.Optional[OpenApiProperty] = None
52
+ pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiProperty]]] = None
53
53
  default: typing.Optional[typing.Dict[str, typing.Any]] = None
54
54
  title: typing.Optional[str] = None
55
55
  description: typing.Optional[str] = None
@@ -74,7 +74,7 @@ class ParameterConfig_Object(pydantic_v1.BaseModel):
74
74
  json_encoders = {dt.datetime: serialize_datetime}
75
75
 
76
76
 
77
- class ParameterConfig_Integer(pydantic_v1.BaseModel):
77
+ class OpenApiProperty_Integer(pydantic_v1.BaseModel):
78
78
  minimum: typing.Optional[int] = None
79
79
  maximum: typing.Optional[int] = None
80
80
  exclusive_minimum: typing.Optional[bool] = None
@@ -103,7 +103,7 @@ class ParameterConfig_Integer(pydantic_v1.BaseModel):
103
103
  json_encoders = {dt.datetime: serialize_datetime}
104
104
 
105
105
 
106
- class ParameterConfig_Number(pydantic_v1.BaseModel):
106
+ class OpenApiProperty_Number(pydantic_v1.BaseModel):
107
107
  minimum: typing.Optional[float] = None
108
108
  maximum: typing.Optional[float] = None
109
109
  format: typing.Optional[str] = None
@@ -133,7 +133,7 @@ class ParameterConfig_Number(pydantic_v1.BaseModel):
133
133
  json_encoders = {dt.datetime: serialize_datetime}
134
134
 
135
135
 
136
- class ParameterConfig_String(pydantic_v1.BaseModel):
136
+ class OpenApiProperty_String(pydantic_v1.BaseModel):
137
137
  min_length: typing.Optional[int] = None
138
138
  max_length: typing.Optional[int] = None
139
139
  pattern: typing.Optional[str] = None
@@ -162,7 +162,7 @@ class ParameterConfig_String(pydantic_v1.BaseModel):
162
162
  json_encoders = {dt.datetime: serialize_datetime}
163
163
 
164
164
 
165
- class ParameterConfig_Boolean(pydantic_v1.BaseModel):
165
+ class OpenApiProperty_Boolean(pydantic_v1.BaseModel):
166
166
  default: typing.Optional[bool] = None
167
167
  title: typing.Optional[str] = None
168
168
  description: typing.Optional[str] = None
@@ -187,8 +187,8 @@ class ParameterConfig_Boolean(pydantic_v1.BaseModel):
187
187
  json_encoders = {dt.datetime: serialize_datetime}
188
188
 
189
189
 
190
- class ParameterConfig_OneOf(pydantic_v1.BaseModel):
191
- one_of: typing.List[ParameterConfig] = pydantic_v1.Field(alias="oneOf")
190
+ class OpenApiProperty_OneOf(pydantic_v1.BaseModel):
191
+ one_of: typing.List[OpenApiProperty] = pydantic_v1.Field(alias="oneOf")
192
192
  title: typing.Optional[str] = None
193
193
  description: typing.Optional[str] = None
194
194
  type: typing.Literal["oneOf"] = "oneOf"
@@ -214,7 +214,7 @@ class ParameterConfig_OneOf(pydantic_v1.BaseModel):
214
214
  json_encoders = {dt.datetime: serialize_datetime}
215
215
 
216
216
 
217
- class ParameterConfig_Const(pydantic_v1.BaseModel):
217
+ class OpenApiProperty_Const(pydantic_v1.BaseModel):
218
218
  title: typing.Optional[str] = None
219
219
  description: typing.Optional[str] = None
220
220
  const: str
@@ -239,13 +239,13 @@ class ParameterConfig_Const(pydantic_v1.BaseModel):
239
239
  json_encoders = {dt.datetime: serialize_datetime}
240
240
 
241
241
 
242
- ParameterConfig = typing.Union[
243
- ParameterConfig_Array,
244
- ParameterConfig_Object,
245
- ParameterConfig_Integer,
246
- ParameterConfig_Number,
247
- ParameterConfig_String,
248
- ParameterConfig_Boolean,
249
- ParameterConfig_OneOf,
250
- ParameterConfig_Const,
242
+ OpenApiProperty = typing.Union[
243
+ OpenApiProperty_Array,
244
+ OpenApiProperty_Object,
245
+ OpenApiProperty_Integer,
246
+ OpenApiProperty_Number,
247
+ OpenApiProperty_String,
248
+ OpenApiProperty_Boolean,
249
+ OpenApiProperty_OneOf,
250
+ OpenApiProperty_Const,
251
251
  ]
@@ -9,13 +9,13 @@ from ..core.datetime_utils import serialize_datetime
9
9
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
10
10
 
11
11
 
12
- class ParameterConfigRequest_Array(pydantic_v1.BaseModel):
12
+ class OpenApiPropertyRequest_Array(pydantic_v1.BaseModel):
13
13
  min_items: typing.Optional[int] = None
14
14
  max_items: typing.Optional[int] = None
15
15
  unique_items: typing.Optional[bool] = None
16
- items: ParameterConfigRequest
17
- prefix_items: typing.Optional[typing.List[ParameterConfigRequest]] = None
18
- contains: typing.Optional[ParameterConfigRequest] = None
16
+ items: OpenApiPropertyRequest
17
+ prefix_items: typing.Optional[typing.List[OpenApiPropertyRequest]] = None
18
+ contains: typing.Optional[OpenApiPropertyRequest] = None
19
19
  min_contains: typing.Optional[int] = None
20
20
  max_contains: typing.Optional[int] = None
21
21
  default: typing.Optional[typing.List[typing.Any]] = None
@@ -42,14 +42,14 @@ class ParameterConfigRequest_Array(pydantic_v1.BaseModel):
42
42
  json_encoders = {dt.datetime: serialize_datetime}
43
43
 
44
44
 
45
- class ParameterConfigRequest_Object(pydantic_v1.BaseModel):
46
- properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfigRequest]]] = None
45
+ class OpenApiPropertyRequest_Object(pydantic_v1.BaseModel):
46
+ properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiPropertyRequest]]] = None
47
47
  required: typing.Optional[typing.List[str]] = None
48
48
  min_properties: typing.Optional[int] = None
49
49
  max_properties: typing.Optional[int] = None
50
- property_names: typing.Optional[ParameterConfigRequest] = None
51
- additional_properties: typing.Optional[ParameterConfigRequest] = None
52
- pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[ParameterConfigRequest]]] = None
50
+ property_names: typing.Optional[OpenApiPropertyRequest] = None
51
+ additional_properties: typing.Optional[OpenApiPropertyRequest] = None
52
+ pattern_properties: typing.Optional[typing.Dict[str, typing.Optional[OpenApiPropertyRequest]]] = None
53
53
  default: typing.Optional[typing.Dict[str, typing.Any]] = None
54
54
  title: typing.Optional[str] = None
55
55
  description: typing.Optional[str] = None
@@ -74,7 +74,7 @@ class ParameterConfigRequest_Object(pydantic_v1.BaseModel):
74
74
  json_encoders = {dt.datetime: serialize_datetime}
75
75
 
76
76
 
77
- class ParameterConfigRequest_Integer(pydantic_v1.BaseModel):
77
+ class OpenApiPropertyRequest_Integer(pydantic_v1.BaseModel):
78
78
  minimum: typing.Optional[int] = None
79
79
  maximum: typing.Optional[int] = None
80
80
  exclusive_minimum: typing.Optional[bool] = None
@@ -103,7 +103,7 @@ class ParameterConfigRequest_Integer(pydantic_v1.BaseModel):
103
103
  json_encoders = {dt.datetime: serialize_datetime}
104
104
 
105
105
 
106
- class ParameterConfigRequest_Number(pydantic_v1.BaseModel):
106
+ class OpenApiPropertyRequest_Number(pydantic_v1.BaseModel):
107
107
  minimum: typing.Optional[float] = None
108
108
  maximum: typing.Optional[float] = None
109
109
  format: typing.Optional[str] = None
@@ -133,7 +133,7 @@ class ParameterConfigRequest_Number(pydantic_v1.BaseModel):
133
133
  json_encoders = {dt.datetime: serialize_datetime}
134
134
 
135
135
 
136
- class ParameterConfigRequest_String(pydantic_v1.BaseModel):
136
+ class OpenApiPropertyRequest_String(pydantic_v1.BaseModel):
137
137
  min_length: typing.Optional[int] = None
138
138
  max_length: typing.Optional[int] = None
139
139
  pattern: typing.Optional[str] = None
@@ -162,7 +162,7 @@ class ParameterConfigRequest_String(pydantic_v1.BaseModel):
162
162
  json_encoders = {dt.datetime: serialize_datetime}
163
163
 
164
164
 
165
- class ParameterConfigRequest_Boolean(pydantic_v1.BaseModel):
165
+ class OpenApiPropertyRequest_Boolean(pydantic_v1.BaseModel):
166
166
  default: typing.Optional[bool] = None
167
167
  title: typing.Optional[str] = None
168
168
  description: typing.Optional[str] = None
@@ -187,8 +187,8 @@ class ParameterConfigRequest_Boolean(pydantic_v1.BaseModel):
187
187
  json_encoders = {dt.datetime: serialize_datetime}
188
188
 
189
189
 
190
- class ParameterConfigRequest_OneOf(pydantic_v1.BaseModel):
191
- one_of: typing.List[ParameterConfigRequest] = pydantic_v1.Field(alias="oneOf")
190
+ class OpenApiPropertyRequest_OneOf(pydantic_v1.BaseModel):
191
+ one_of: typing.List[OpenApiPropertyRequest] = pydantic_v1.Field(alias="oneOf")
192
192
  title: typing.Optional[str] = None
193
193
  description: typing.Optional[str] = None
194
194
  type: typing.Literal["oneOf"] = "oneOf"
@@ -214,7 +214,7 @@ class ParameterConfigRequest_OneOf(pydantic_v1.BaseModel):
214
214
  json_encoders = {dt.datetime: serialize_datetime}
215
215
 
216
216
 
217
- class ParameterConfigRequest_Const(pydantic_v1.BaseModel):
217
+ class OpenApiPropertyRequest_Const(pydantic_v1.BaseModel):
218
218
  title: typing.Optional[str] = None
219
219
  description: typing.Optional[str] = None
220
220
  const: str
@@ -239,13 +239,13 @@ class ParameterConfigRequest_Const(pydantic_v1.BaseModel):
239
239
  json_encoders = {dt.datetime: serialize_datetime}
240
240
 
241
241
 
242
- ParameterConfigRequest = typing.Union[
243
- ParameterConfigRequest_Array,
244
- ParameterConfigRequest_Object,
245
- ParameterConfigRequest_Integer,
246
- ParameterConfigRequest_Number,
247
- ParameterConfigRequest_String,
248
- ParameterConfigRequest_Boolean,
249
- ParameterConfigRequest_OneOf,
250
- ParameterConfigRequest_Const,
242
+ OpenApiPropertyRequest = typing.Union[
243
+ OpenApiPropertyRequest_Array,
244
+ OpenApiPropertyRequest_Object,
245
+ OpenApiPropertyRequest_Integer,
246
+ OpenApiPropertyRequest_Number,
247
+ OpenApiPropertyRequest_String,
248
+ OpenApiPropertyRequest_Boolean,
249
+ OpenApiPropertyRequest_OneOf,
250
+ OpenApiPropertyRequest_Const,
251
251
  ]
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class StringParameterConfig(pydantic_v1.BaseModel):
10
+ class OpenApiStringProperty(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'string'
13
13
  """
@@ -7,7 +7,7 @@ from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
8
8
 
9
9
 
10
- class StringParameterConfigRequest(pydantic_v1.BaseModel):
10
+ class OpenApiStringPropertyRequest(pydantic_v1.BaseModel):
11
11
  """
12
12
  An OpenAPI specification of a parameter with type 'string'
13
13
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.7.5
3
+ Version: 0.7.6
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0