teradataml 20.0.0.5__py3-none-any.whl → 20.0.0.6__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.

Potentially problematic release.


This version of teradataml might be problematic. Click here for more details.

Files changed (53) hide show
  1. teradataml/LICENSE-3RD-PARTY.pdf +0 -0
  2. teradataml/README.md +96 -0
  3. teradataml/_version.py +1 -1
  4. teradataml/analytics/analytic_function_executor.py +1 -1
  5. teradataml/analytics/utils.py +56 -11
  6. teradataml/clients/auth_client.py +10 -6
  7. teradataml/clients/keycloak_client.py +165 -0
  8. teradataml/common/constants.py +10 -0
  9. teradataml/common/exceptions.py +32 -0
  10. teradataml/common/messagecodes.py +27 -0
  11. teradataml/common/messages.py +9 -1
  12. teradataml/common/sqlbundle.py +3 -2
  13. teradataml/common/utils.py +94 -12
  14. teradataml/context/context.py +37 -9
  15. teradataml/data/jsons/byom/onnxembeddings.json +1 -0
  16. teradataml/data/pattern_matching_data.csv +11 -0
  17. teradataml/data/sdk/modelops/modelops_spec.json +101737 -0
  18. teradataml/data/teradataml_example.json +8 -1
  19. teradataml/data/url_data.csv +10 -9
  20. teradataml/dataframe/copy_to.py +1 -1
  21. teradataml/dataframe/dataframe.py +980 -82
  22. teradataml/dataframe/dataframe_utils.py +58 -25
  23. teradataml/dataframe/functions.py +962 -1
  24. teradataml/dataframe/sql.py +570 -1031
  25. teradataml/hyperparameter_tuner/utils.py +4 -2
  26. teradataml/lib/aed_0_1.dll +0 -0
  27. teradataml/opensource/_base.py +7 -1
  28. teradataml/options/configure.py +20 -4
  29. teradataml/scriptmgmt/UserEnv.py +13 -2
  30. teradataml/scriptmgmt/lls_utils.py +99 -24
  31. teradataml/sdk/README.md +79 -0
  32. teradataml/sdk/__init__.py +4 -0
  33. teradataml/sdk/_auth_modes.py +422 -0
  34. teradataml/sdk/_func_params.py +487 -0
  35. teradataml/sdk/_json_parser.py +453 -0
  36. teradataml/sdk/_openapi_spec_constants.py +249 -0
  37. teradataml/sdk/_utils.py +236 -0
  38. teradataml/sdk/api_client.py +897 -0
  39. teradataml/sdk/constants.py +62 -0
  40. teradataml/sdk/modelops/__init__.py +98 -0
  41. teradataml/sdk/modelops/_client.py +406 -0
  42. teradataml/sdk/modelops/_constants.py +304 -0
  43. teradataml/sdk/modelops/models.py +2308 -0
  44. teradataml/sdk/spinner.py +107 -0
  45. teradataml/table_operators/query_generator.py +4 -21
  46. teradataml/utils/dtypes.py +2 -1
  47. teradataml/utils/utils.py +0 -1
  48. teradataml/utils/validators.py +5 -1
  49. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.6.dist-info}/METADATA +101 -2
  50. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.6.dist-info}/RECORD +53 -36
  51. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.6.dist-info}/WHEEL +0 -0
  52. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.6.dist-info}/top_level.txt +0 -0
  53. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.6.dist-info}/zip-safe +0 -0
@@ -0,0 +1,304 @@
1
+ # The below dictionary can be used by developers to map the tags to class names
2
+ # if developer want to use different class names for the tags in the OpenAPI spec.
3
+ _DEV_DEFINED_TAG_TO_CLASS_NAME_MAPPER = {}
4
+
5
+ # The below dictionary can be used by developers to map the old class methods
6
+ # to the new class methods if developer want to use different method names if
7
+ # operationID in the OpenAPI spec, is not correct and doesn't behave as per
8
+ # description/summary.
9
+ _DEV_DEFINED_CLASS_FUNCTIONS_MAPPER = {
10
+ "/api/projects/{id}": {
11
+ "get": {
12
+ "operationID": "getItemResource-project-get",
13
+ "function_name": "find_by_id"
14
+ },
15
+ "put": {
16
+ "operationID": "putItemResource-project-put",
17
+ "function_name": "replace_by_id"
18
+ },
19
+ "patch": {
20
+ "operationID": "patchItemResource-project-patch",
21
+ "function_name": "update_by_id"
22
+ }
23
+ },
24
+ "/api/projects": {
25
+ "post": {
26
+ "operationID": "postCollectionResource-project-post",
27
+ "function_name": "create_project"
28
+ },
29
+ "get": {
30
+ "operationID": "getCollectionResource-project-get",
31
+ "function_name": "find_all"
32
+ }
33
+ },
34
+ "/api/projects/{id}/batchImportAI": {
35
+ "post": {
36
+ "operationID": "batchImportAI",
37
+ "function_name": "import_models"
38
+ }
39
+ },
40
+ "/api/deployments/search/findActiveByTrainedModelIdAndEngineType": {
41
+ "get": {
42
+ "operationID": "executeSearch-deployment-get_6",
43
+ "function_name": "find_active_by_trained_model_and_engine_type"
44
+ }
45
+ },
46
+ "/api/deployments/search/findActive": {
47
+ "get": {
48
+ "operationID": "executeSearch-deployment-get_1",
49
+ "function_name": "find_active"
50
+ }
51
+ },
52
+ "/api/datasetConnections/search/findByArchived": {
53
+ "get": {
54
+ "operationID": "executeSearch-datasetconnection-get_4",
55
+ "function_name": "find_by_archived"
56
+ }
57
+ },
58
+ "/api/datasetTemplates/search/findByArchived": {
59
+ "get": {
60
+ "operationID": "executeSearch-datasettemplate-get_3",
61
+ "function_name": "find_by_archived"
62
+ }
63
+ },
64
+ "/api/datasets/search/findByArchived": {
65
+ "get": {
66
+ "operationID": "executeSearch-dataset-get_4",
67
+ "function_name": "find_by_archived"
68
+ }
69
+ },
70
+ "/api/featureEngineeringTasks/search/findByArchived": {
71
+ "get": {
72
+ "operationID": "executeSearch-featureengineeringtask-get_3",
73
+ "function_name": "find_by_archived"
74
+ }
75
+ },
76
+ "/api/models/search/findByArchived": {
77
+ "get": {
78
+ "operationID": "executeSearch-model-get_4",
79
+ "function_name": "find_by_archived"
80
+ }
81
+ },
82
+ "/api/projects/search/findByArchived": {
83
+ "get": {
84
+ "operationID": "executeSearch-project-get_2",
85
+ "function_name": "find_by_archived"
86
+ }
87
+ },
88
+ "/api/trainedModels/search/findByArchived": {
89
+ "get": {
90
+ "operationID": "executeSearch-trainedmodel-get_3",
91
+ "function_name": "find_by_archived"
92
+ }
93
+ },
94
+ "/api/datasetConnections/{id}": {
95
+ "get": {
96
+ "operationID": "getItemResource-datasetconnection-get",
97
+ "function_name": "find_by_id"
98
+ }
99
+ },
100
+ "/api/datasetTemplates/{id}": {
101
+ "get": {
102
+ "operationID": "getItemResource-datasettemplate-get",
103
+ "function_name": "find_by_id"
104
+ }
105
+ },
106
+ "/api/datasets/{id}": {
107
+ "get": {
108
+ "operationID": "getItemResource-dataset-get",
109
+ "function_name": "find_by_id"
110
+ }
111
+ },
112
+ "/api/deployments/{id}": {
113
+ "get": {
114
+ "operationID": "getItemResource-deployment-get",
115
+ "function_name": "find_by_id"
116
+ }
117
+ },
118
+ "/api/featureEngineeringEvents/{id}": {
119
+ "get": {
120
+ "operationID": "getItemResource-featureengineeringevent-get",
121
+ "function_name": "find_by_id"
122
+ }
123
+ },
124
+ "/api/featureEngineeringTasks/{id}": {
125
+ "get": {
126
+ "operationID": "getItemResource-featureengineeringtask-get",
127
+ "function_name": "find_by_id"
128
+ }
129
+ },
130
+ "/api/jobEvents/{id}": {
131
+ "get": {
132
+ "operationID": "getItemResource-jobevent-get",
133
+ "function_name": "find_by_id"
134
+ }
135
+ },
136
+ "/api/jobs/{id}": {
137
+ "get": {
138
+ "operationID": "getItemResource-job-get",
139
+ "function_name": "find_by_id"
140
+ }
141
+ },
142
+ "/api/modelAttributes/{id}": {
143
+ "get": {
144
+ "operationID": "getItemResource-modelattribute-get",
145
+ "function_name": "find_by_id"
146
+ }
147
+ },
148
+ "/api/models/{id}": {
149
+ "get": {
150
+ "operationID": "getItemResource-model-get",
151
+ "function_name": "find_by_id"
152
+ }
153
+ },
154
+ "/api/projectAttributes/{id}": {
155
+ "get": {
156
+ "operationID": "getItemResource-projectattribute-get",
157
+ "function_name": "find_by_id"
158
+ }
159
+ },
160
+ "/api/tags/{id}": {
161
+ "get": {
162
+ "operationID": "getItemResource-tag-get",
163
+ "function_name": "find_by_id"
164
+ }
165
+ },
166
+ "/api/trainedModelEvents/{id}": {
167
+ "get": {
168
+ "operationID": "getItemResource-trainedmodelevent-get",
169
+ "function_name": "find_by_id"
170
+ }
171
+ },
172
+ "/api/trainedModels/{id}": {
173
+ "get": {
174
+ "operationID": "getItemResource-trainedmodel-get",
175
+ "function_name": "find_by_id"
176
+ }
177
+ },
178
+ "/api/userAttributes/{id}": {
179
+ "get": {
180
+ "operationID": "getItemResource-userattribute-get",
181
+ "function_name": "find_by_id"
182
+ }
183
+ },
184
+ "/api/archives/{entityType}/{entityId}": {
185
+ "delete": {
186
+ "operationID": "unArchive",
187
+ "function_name": "unarchive"
188
+ }
189
+ },
190
+ "/api/alerts": {
191
+ "get": {
192
+ "operationID": "getAlerts",
193
+ "function_name": "find_all"
194
+ }
195
+ },
196
+ "/api/datasetConnections": {
197
+ "get": {
198
+ "operationID": "getCollectionResource-datasetconnection-get",
199
+ "function_name": "find_all"
200
+ }
201
+ },
202
+ "/api/datasetTemplates": {
203
+ "get": {
204
+ "operationID": "getCollectionResource-datasettemplate-get",
205
+ "function_name": "find_all"
206
+ }
207
+ },
208
+ "/api/datasets": {
209
+ "get": {
210
+ "operationID": "getCollectionResource-dataset-get",
211
+ "function_name": "find_all"
212
+ }
213
+ },
214
+ "/api/deployments": {
215
+ "get": {
216
+ "operationID": "getCollectionResource-deployment-get",
217
+ "function_name": "find_all"
218
+ }
219
+ },
220
+ "/api/engineTypes": {
221
+ "get": {
222
+ "operationID": "getEngineTypes",
223
+ "function_name": "find_all"
224
+ }
225
+ },
226
+ "/api/featureEngineeringEvents": {
227
+ "get": {
228
+ "operationID": "getCollectionResource-featureengineeringevent-get",
229
+ "function_name": "find_all"
230
+ }
231
+ },
232
+ "/api/featureEngineeringTasks": {
233
+ "get": {
234
+ "operationID": "getCollectionResource-featureengineeringtask-get",
235
+ "function_name": "find_all"
236
+ }
237
+ },
238
+ "/api/jobEvents": {
239
+ "get": {
240
+ "operationID": "getCollectionResource-jobevent-get",
241
+ "function_name": "find_all"
242
+ }
243
+ },
244
+ "/api/jobs": {
245
+ "get": {
246
+ "operationID": "getCollectionResource-job-get",
247
+ "function_name": "find_all"
248
+ }
249
+ },
250
+ "/api/modelAttributes": {
251
+ "get": {
252
+ "operationID": "getCollectionResource-modelattribute-get",
253
+ "function_name": "find_all"
254
+ }
255
+ },
256
+ "/api/models": {
257
+ "get": {
258
+ "operationID": "getCollectionResource-model-get",
259
+ "function_name": "find_all"
260
+ }
261
+ },
262
+ "/api/projectAttributes": {
263
+ "get": {
264
+ "operationID": "getCollectionResource-projectattribute-get",
265
+ "function_name": "find_all"
266
+ }
267
+ },
268
+ "/api/services": {
269
+ "get": {
270
+ "operationID": "getServices",
271
+ "function_name": "find_all"
272
+ }
273
+ },
274
+ "/api/tags": {
275
+ "get": {
276
+ "operationID": "getCollectionResource-tag-get",
277
+ "function_name": "find_all"
278
+ }
279
+ },
280
+ "/api/trainedModelEvents": {
281
+ "get": {
282
+ "operationID": "getCollectionResource-trainedmodelevent-get",
283
+ "function_name": "find_all"
284
+ }
285
+ },
286
+ "/api/trainedModels": {
287
+ "get": {
288
+ "operationID": "getCollectionResource-trainedmodel-get",
289
+ "function_name": "find_all"
290
+ }
291
+ },
292
+ "/api/userAttributes": {
293
+ "get": {
294
+ "operationID": "getCollectionResource-userattribute-get",
295
+ "function_name": "find_all"
296
+ }
297
+ },
298
+ "/api/userInfo": {
299
+ "get": {
300
+ "operationID": "getUserInfo",
301
+ "function_name": "find_all"
302
+ }
303
+ }
304
+ }